Hi, Caty,
IMHO, users would appreciate all kind of these hints and customization in step-by-step "manual".
I had an occasion with a very short time to implement "XWiki.org-styled" horizontal menu: I installed it, - it didn't work. :-(
I gave up and installed "non-XWiki.org-styled menu" instead and it worked fine "from scratch".
Editing xml file - fine, but looks not so obvious for less experienced users :-)
Kind Regards,
Dmitry
Fri, 21 Sep 2012 13:30:20 +0300 от "Ecaterina Moraru (Valica)" <valicac(a)gmail.com>:
>
>
>
>
>Well you said you managed to put the Menu in all your wikis. How did you do
>
that?
>
>
What you find in the archive is:
>
- WebPreferences.xml page: this sets the skin "xwiki:XWikiOrgCode.Skin" as
>
the active skin. The wiki mark "xwiki:" means that the skin is located on
>
your main wiki
>
>
- Skin.xml page: it's a standard skin file, with the addition that it has
>
the header.vm field overwritten and adds a reference to
>
"xwiki:XWikiOrgCode.MenuMacro". Having again the "xwiki:" marks means that
>
this uses the file from the main wiki. One quick fix for your problem is
>
instead of "xwiki:XWikiOrgCode.MenuMacro" put
>
"{your_subwiki_name}:XWikiOrgCode.MenuMacro" or even simpler
>
"XWikiOrgCode.MenuMacro". This means that the path is no longer absolute,
>
but relative to your subwiki. Make sure you duplicate on your subwiki the
>
"XWikiOrgCode.MenuMacro" page and add any contextual content you want in
>
it.
>
>
- MenuMacro.xml page that contains the content of the menu.
>
>
The case described up means that for each subwiki you have you create a
>
separate MenuMacro page. The subwikis can share the same skin, or have
>
separate skins for each subwikis.
>
>
The other solution I mentioned is going in MenuMacro.xml and writting
>
conditions (if, else, context.database, etc.) .
>
>
Thanks,
>
Caty
>
>
On Thu, Sep 20, 2012 at 3:58 PM, niko dangl <niko.dangl(a)gmail.com> wrote:
>
>
> oh i thought i could just import the menu tu each wiki and have an
>
> independet menu.
>
>
>
> but one more silly question how can i manage different menu pages for each
>
> wiki?
>
>
>
> thanks and regards,
>
> niko
>
>
>
> 2012/9/20 Ecaterina Moraru (Valica) <valicac(a)gmail.com>:
>
> > Well you edit the menu by editing the page where the menu is defined.
>
> > If you put the menu on all your subwikis is normal that the links are the
>
> > same for each wiki, because they all link to the same page (and in a page
>
> > the content in static).
>
> >
>
> > If you want different content for your sub wikis: you can write
>
> conditions
>
> > to display other links depending on your location, or you could have
>
> > different menu pages for each sub wiki.
>
> >
>
> > Thanks,
>
> > Caty
>
> >
>
> > On Thu, Sep 20, 2012 at 2:40 PM, niko dangl <niko.dangl(a)gmail.com>
>
> wrote:
>
> >
>
> >> I managed to get the Menu in all my Wikis but there is something i dont
>
> >> get.
>
> >>
>
> >> How can i edit the entries? I mean i know how to edit the Menu but its
>
> >> always for the main wiki and i cant change it for each wiki..
>
> >> Maybe its just not possible or i dont know how to do it.
>
> >>
>
> >> could anyone please help?
>
> >> thanks and kind regards
>
> >>
>
> >> 2012/9/13 niko dangl <niko.dangl(a)gmail.com>:
>
> >> > Hi Caty,
>
> >> >
>
> >> > i get the same result when i check
>
> >> http://jira.xwiki.org/browse/XWIKI-7016
>
> >> >
>
> >> > I'm using xwiki 4.2 M2 and got this in the log.
>
> >> >
>
> >> > 2012-09-13 17:08:02,270
>
> >> > [
>
> >>
>
> http://192.168.10.24:8080/just/wiki/template.junese.de/view/Dashboard/WebHo…
>
> >> ]
>
> >> > WARN c.x.x.XWiki - Exception Including Topic
>
> >> > xwiki:XWikiOrgCode.MenuMacro
>
> >> > com.xpn.xwiki.XWikiException: Error number 9001 in 9: Access to this
>
> >> > document is denied: XWikiOrgCode.MenuMacro
>
> >> >
>
> >> > not sure if its just a problem with access rights or something else
>
> >> > but i checked that for like two hours now and dont get it :(
>
> >> >
>
> >> > 2012/9/13 Ecaterina Moraru (Valica) <valicac(a)gmail.com>:
>
> >> >> Maybe is this bug http://jira.xwiki.org/browse/XWIKI-7016
>
> >> >> What version are you using?
>
> >> >>
>
> >> >> Thanks,
>
> >> >> Caty
>
> >> >>
>
> >> >> On Thu, Sep 13, 2012 at 2:32 PM, niko dangl <niko.dangl(a)gmail.com>
>
> >> wrote:
>
> >> >>
>
> >> >>> hm it seems i didnt really fix it :(
>
> >> >>> now if i login as normal user i get the message "Topic
>
> >> >>> xwiki:XWikiOrgCode.MenuMacro does not exist".
>
> >> >>>
>
> >> >>> after removing the blank it was working but i was logged in as
>
> >> >>> "global" user for installation and after switching to a normal user
>
> >> >>> for the subwiki it doesnt work anymore!
>
> >> >>> i guess its something within the rights but dont know where.
>
> >> >>>
>
> >> >>> also asked google but only found an irc archive.
>
> >> >>>
>
> >> >>> maybe you could help me in this case.
>
> >> >>>
>
> >> >>> thanks and regards,
>
> >> >>> Niko
>
> >> >>>
>
> >> >>> 2012/9/13 Ecaterina Moraru (Valica) <valicac(a)gmail.com>:
>
> >> >>> > I'm glad you fixed it.
>
> >> >>> >
>
> >> >>> > Thanks,
>
> >> >>> > Caty
>
> >> >>> >
>
> >> >>> > On Thu, Sep 13, 2012 at 1:16 PM, niko dangl <niko.dangl(a)gmail.com
>
> >
>
> >> >>> wrote:
>
> >> >>> >
>
> >> >>> >> Ok thats kinda embarrassing and i really feel stupid right now..
>
> >> >>> >> Had a blank right next to the XWikiOrgCode.Skin and now its
>
> >> working..
>
> >> >>> >> but thanks anyway.
>
> >> >>> >>
>
> >> >>> >> regards,
>
> >> >>> >> niko
>
> >> >>> >>
>
> >> >>> >> 2012/9/13 niko dangl <niko.dangl(a)gmail.com>:
>
> >> >>> >> > Hi everyone,
>
> >> >>> >> >
>
> >> >>> >> > i just created my own farm and try to build a template wiki
>
> which
>
> >> i
>
> >> >>> >> > can use for upcoming wikis.
>
> >> >>> >> > now i got some problems with the configuration.
>
> >> >>> >> >
>
> >> >>> >> > after searching for a menu bar like on xwiki.org i found the
>
> >> >>> extension
>
> >> >>> >> > which is what i was looking for.
>
> >> >>> >> >
>
> >> >>> >>
>
> >> >>>
>
> >>
>
> http://extensions.xwiki.org/xwiki/bin/download/Extension/Navigation+Menu+Wi…
>
> >> >>> >> >
>
> >> >>> >> > if i go to the main wiki i can use this menu and it works..but
>
> on
>
> >> my
>
> >> >>> >> > subwiki it wont work..
>
> >> >>> >> >
>
> >> >>> >> > hopefully someone is more experienced in running a farm and
>
> culd
>
> >> help
>
> >> >>> me
>
> >> >>> >> out.
>
> >> >>> >> > i dont really know where to start now because i checked the
>
> >> rights and
>
> >> >>> >> > i think its fine.
>
> >> >>> >> >
>
> >> >>> >> > thanks so far and regards
>
> >> >>> >> > Niko
>
> >> >>> >> _______________________________________________
>
> >> >>> >> users mailing list
>
> >> >>> >> users(a)xwiki.org
>
> >> >>> >> http://lists.xwiki.org/mailman/listinfo/users
>
> >> >>> >>
>
> >> >>> > _______________________________________________
>
> >> >>> > users mailing list
>
> >> >>> > users(a)xwiki.org
>
> >> >>> > http://lists.xwiki.org/mailman/listinfo/users
>
> >> >>> _______________________________________________
>
> >> >>> users mailing list
>
> >> >>> users(a)xwiki.org
>
> >> >>> http://lists.xwiki.org/mailman/listinfo/users
>
> >> >>>
>
> >> >> _______________________________________________
>
> >> >> users mailing list
>
> >> >> users(a)xwiki.org
>
> >> >> http://lists.xwiki.org/mailman/listinfo/users
>
> >> _______________________________________________
>
> >> users mailing list
>
> >> users(a)xwiki.org
>
> >> http://lists.xwiki.org/mailman/listinfo/users
>
> >>
>
> > _______________________________________________
>
> > users mailing list
>
> > users(a)xwiki.org
>
> > http://lists.xwiki.org/mailman/listinfo/users
>
> _______________________________________________
>
> users mailing list
>
> users(a)xwiki.org
>
> http://lists.xwiki.org/mailman/listinfo/users
>
>
>
_______________________________________________
>
users mailing list
>users(a)xwiki.org
>http://lists.xwiki.org/mailman/listinfo/users
>
Kind regards,
Dmitry
Hi
I tried to build Xwiki platform from source but I could not get success,
I followed tutorial on this page
http://dev.xwiki.org/xwiki/bin/view/Community/Building but I could not get
away from the this Error
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile
(default-testCompile) on project xwiki-platform-configuration-default:
Compilation failure: Compilation failure:
[ERROR] bootstrap class path not set in conjunction with -source 1.6
.....
Thanks
I have XWiki 4.1.3 installed as a debian package, OS - Linux Mint Debian
Edition (fully compatible to original Debian). When I checked system
updates, updates manager give me list of system packages for updates,
including and XWiki debian packages (give me 4.1.4).
I am not a specialist in a linux stategy of updating (simple user) and for
this reason - question:
Is it possible to use standart OS package updates manager to update XWiki?
Maybe need some additional steps or actions?
Before this, I was using Xwiki in a Windows platform and made updates
manually (compare files one by one).
--
Thanks beforehand!
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/Understanding-XWiki-upgrading-process-ins…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Can someboy show me what I should to to disable/disallow the creation of new
spaces by regular users? (So only an Admin can create a new space)
Should I only allow "Edit"-rights on wiki-level to the AdminGroup?
Please advice! (I hate it when I disallow acces-rights for the admin...been
there, done that! :-( )
--
View this message in context: http://xwiki.475771.n2.nabble.com/Disallow-creation-of-new-spaces-tp7581547…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Is it possible to use the LightBox Macro "inside" the livetable of
AppWithinMinutes?
Right now the livetable is only opening the picture in a new webbrowser
window...only the "page" itself uses the LightBox Macro correctly. (I have
used a LongText field and insert the LightBox Macro when I add a new entry
in the AppWithinMinutes)
I think it would be very cool to show pictures from the livetable with the
LightBox Macro!
--
View this message in context: http://xwiki.475771.n2.nabble.com/AppWithinMinutes-Show-picture-with-LightB…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi,
When I add the XHTML language as the default, and try to create a new page,
the following window displays:
<http://xwiki.475771.n2.nabble.com/file/n7581493/xwiki_error.jpg>
The contents oif stacktrace are:
Error number 4001 in 4: Error while parsing velocity page
/templates/xwikivars.vm Wrapped Exception: Failed to evaluate content with
id [/templates/xwikivars.vm]
Error number 4001 in 4: Error while parsing velocity page
/templates/xwikivars.vm
Wrapped Exception: Failed to evaluate content with id
[/templates/xwikivars.vm]
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing
velocity page /templates/xwikivars.vm
Wrapped Exception: Failed to evaluate content with id
[/templates/xwikivars.vm]
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:110)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1765)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1705)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:854)
at sun.reflect.GeneratedMethodAccessor151.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1765)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:155)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:241)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:662)
Caused by: org.xwiki.velocity.XWikiVelocityException: Failed to evaluate
content with id [/templates/xwikivars.vm]
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:243)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
... 66 more
Caused by: org.apache.velocity.exception.MethodInvocationException:
Invocation of method 'getDisplayTitle' in class com.xpn.xwiki.api.Document
threw exception java.lang.NullPointerException at
/templates/xwikivars.vm[line 100, column 67]
at
org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:223)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:151)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.apache.velocity.runtime.parser.node.ASTStringLiteral.value(ASTStringLiteral.java:330)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
... 68 more
Caused by: java.lang.NullPointerException
at com.xpn.xwiki.doc.XWikiDocument.getXDOM(XWikiDocument.java:7491)
at
com.xpn.xwiki.doc.XWikiDocument.getDefaultEditMode(XWikiDocument.java:6063)
at
com.xpn.xwiki.internal.sheet.DefaultModelBridge.getDefaultEditMode(DefaultModelBridge.java:80)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.isSheetExpected(SheetDocumentDisplayer.java:138)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:93)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedTitle(XWikiDocument.java:1173)
at com.xpn.xwiki.api.Document.getDisplayTitle(Document.java:313)
at sun.reflect.GeneratedMethodAccessor227.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:142)
at
org.apache.velocity.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:539)
at
org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:198)
... 83 more
Wrapped Exception:
org.apache.velocity.exception.MethodInvocationException: Invocation of
method 'getDisplayTitle' in class com.xpn.xwiki.api.Document threw
exception java.lang.NullPointerException at /templates/xwikivars.vm[line
100, column 67]
at
org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:223)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at
org.apache.velocity.runtime.parser.node.ASTReference.value(ASTReference.java:567)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:151)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.apache.velocity.runtime.parser.node.ASTStringLiteral.value(ASTStringLiteral.java:330)
at
org.apache.velocity.runtime.parser.node.ASTExpression.value(ASTExpression.java:71)
at
org.apache.velocity.runtime.parser.node.ASTSetDirective.render(ASTSetDirective.java:142)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1765)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1705)
at com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:854)
at sun.reflect.GeneratedMethodAccessor151.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:395)
at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:384)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:173)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:280)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:369)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.directive.VelocimacroProxy.render(VelocimacroProxy.java:216)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:311)
at
org.apache.velocity.runtime.directive.RuntimeMacro.render(RuntimeMacro.java:230)
at
org.apache.velocity.runtime.parser.node.ASTDirective.render(ASTDirective.java:207)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:106)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:342)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:224)
at
org.xwiki.velocity.internal.DefaultVelocityEngine.evaluate(DefaultVelocityEngine.java:184)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:105)
at com.xpn.xwiki.XWiki.evaluateTemplate(XWiki.java:1765)
at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:155)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:241)
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:116)
at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:769)
at
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:698)
at
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:891)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:690)
at java.lang.Thread.run(Thread.java:662)
Caused by: java.lang.NullPointerException
at com.xpn.xwiki.doc.XWikiDocument.getXDOM(XWikiDocument.java:7491)
at
com.xpn.xwiki.doc.XWikiDocument.getDefaultEditMode(XWikiDocument.java:6063)
at
com.xpn.xwiki.internal.sheet.DefaultModelBridge.getDefaultEditMode(DefaultModelBridge.java:80)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.isSheetExpected(SheetDocumentDisplayer.java:138)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:93)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:50)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:67)
at
org.xwiki.display.internal.ConfiguredDocumentDisplayer.display(ConfiguredDocumentDisplayer.java:41)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedTitle(XWikiDocument.java:1173)
at com.xpn.xwiki.api.Document.getDisplayTitle(Document.java:313)
at sun.reflect.GeneratedMethodAccessor227.invoke(Unknown Source)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at
org.apache.velocity.runtime.parser.node.PropertyExecutor.execute(PropertyExecutor.java:142)
at
org.apache.velocity.util.introspection.UberspectImpl$VelGetterImpl.invoke(UberspectImpl.java:539)
at
org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:198)
... 83 more
I have searched the forums, can anybody help me to make this Wiki working
with XHTML?
Thanks!
--
View this message in context: http://xwiki.475771.n2.nabble.com/Problem-with-XHTML-support-in-XWIKI-4-2-M…
Sent from the XWiki- Users mailing list archive at Nabble.com.
Hello guys
first sorry for my english wich is not as good as i would ;)
I'm a newbee on xwiki (but i know html), in fact i'm an end-user and i
can only acces to the wysiwyg and the source on the xwiki pages (not the
admin) BUT i need to use a CSS on some one.
I try to put my css file as an attached file of my xwiki page, and using
this command-line on the source code:
{{velocity}}
$xwiki.ssfx.use('bin/download/Space_test/testcss/csstable.css', true)
{{/velocity}}
or this one:
{{velocity}}
$xwiki.ssx.use('csstable.css')
{{/velocity}}
but it always looking for the file "csstable" in the directory
skin/albatross or ssx.
Is there any solution that's make the file "csstable.css" loading into
the right directory (even if it's an external link to another server) or
any other workaround (in fact, i've got several tables on my xwiki page,
and i don't want to use, each time, the source code to edit the css of
each td)?! I know that it will be more usefull if the admin of the xwiki
could change this css, but i'm not sure he would like.
Thanks for your help
regards
Jerome
Hello,
Since XWiki support user accounts, enabling visitors to create an account
and sign in to the site, Can you tell me if It's possible with a little bit
of effort track the activity of logged users? This can include recording
activities such as what pages were visited as well as what actions were
performed. May be it is possible implementing a plugin with Velocity or
extracting the data from database. Have any idea how to do it?
Thanks!!
--
*Ezequiel Scott**
*
ezequielscott(a)gmail.com
The XWiki development team is proud to announce the availability of XWiki
Enterprise 4.2 Release Candidate 1.
This is the first and hopefully final release candidate of the 4.2 release
cycle. Being a release candidate, this release contains bugfixes and
polishing, most of them focused on the new distribution wizard.
You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download
Make sure to review the release notes:
http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterpris…
Thanks
-The XWiki dev team
Can someone please confirm that I understand user rights properly?
I have a wiki in which I have loaded all of our custom pages into a space
called "1". We use LDAP, so every user is automatically added to the
XWikiAllGroup. We have a small team that wants to utilize secured pages,
so I created a group called GroupA. I then went through and added team
members to GroupA (without removing them from XWikiAllGroup).
At the wiki level, I have granted both groups "view" access, but blocked
everything else.
At the "1" space level, I have granted both groups "edit" and "delete"
rights
Now, in that space, there are some pages that we only want GroupA to see.
I thought it was simple - I could just go into each page, block
XWikiAllGroup from view/edit/delete, and grant view/edit/delete access to
GroupA. Apparently that is not true - the fact that they are still in
XWikiAllGroup prevents them from viewing those pages, since that group is
blocked? I expected the fact that they are part of GroupA and GroupA is
authorized, they would be authorized.
If that is true, what is the solution to this? What is the simplest way to
secure a page from everyone except the members of GroupA? If I remove
GroupA members from XWikiAllGroup, that seems to cause other issues with
skins and such.
Any suggestions?
Thanks!
- Matt L.