Hi,
I would like to use the container macro and three collums
{{container layoutStyle="columns"}}
(((first content)))
(((second content)))
(((third content)))
{{/container}}
The contents would be includes from three pages containing Header level 5, a link to another wiki page, a short descriptive and an image
The question is that I would like these three columns to look like a collapsed panel header you get when you set a colortheme (new version with coloreffect)
What is the way to include a DIV CSS selector with a class attribute similar to the collapsed header from colorthemes
The result should be that all three columms will allign (same height, width) with the background fill and border like a collapsed panel header
(regardless of content of the three included pages)
Help will be greatly appreciated...
Gerritjan
I succeeded in obtaining ordered XWiki Objects from a specific page with
XWQL, but it was too slow since it queried the entire wiki.
Since I just need objects from a specific page, I don't need the overhead
of querying the entire wiki DB.
To order objects obtained by $doc.getObjects("Class"), it seems I need a
Comparator class that I can pass to a collection sort method.
To compare fields, I need to extract types from the fields the Comparator
is given in its constructor, which I don't have an idea of.
How do I implement a Comparator that compares objects according to given
fields?
Dear Mailman,
I want a standalone XWiki example in order to verify that it can provide my
company's requirements before doing a full installation to our web and data
servers
I have downloaded the windows installer of 4.3 (2) to a Windows 7 machine
with Java 7 installed and 1TB free storage
I ran the installer and I have a start icon and a stop icon on the desktop
When I double click the start icon, I see a command prompt for a fraction
of a second before it disappears.
Firefox and Chrome both report that they cannot connect to localhost:8080
Is there something fundamental that I have missed? I understood that this
installation came with a small database built into it.
--
*John Murphy **|* Technical Writer *|* Mobile: 0415324479 *|*
|Telephone: 02 8999 3170 *|*john.murphy(a)ipscape.com.au*|*
Hello XWiki experts,
at www.curriki.org, our two server-nodes are reaching limits in terms of storage.
One of the things that take a lot of space are the logs, we have a clue how to manage that.
Another thing that takes a lot of space is /var/tmp/ which contains temporary storages for the attachment deliveries.
On one of the nodes, it's made of 14Gb and 12538 files.
On the other, 23Gb and 29402 files.
What are the risk of deleting the old files there?
Is the server touching the files when it has served them so that files older than a day could be deleted if we need?
(I think I know that it takes more time to deliver from the DB and create temp-storage than to use the temp storage)
thanks in advance
Paul
Hi guys,
I just finished repackaging the realtime collaborative editor which was developed as part of wiki/3.0.
It is now installable as an extension. It's still a bit rough around the edges but it's pretty safe to
play with so everyone is invited to give it a try.
* Multiple users can edit the same document at the same time and their changes are merged in real time.
* The "RealTime Wiki" editor is an option along side WYSIWYG and Wiki so it won't break existing editors.
* Easy installation by copying a .jar file and importing a .xar file, removal is simply deleting 2 XDocuments.
http://extensions.xwiki.org/xwiki/bin/view/Extension/RealTime+Wiki+Editor
Please feel free to share your experiences in the mailing list, on the extension wiki page and on the
github bug tracker.
Thanks,
Caleb
I tried to execute a Query and saw an error below.
Caused by: org.xwiki.query.QueryException: Exception while translating
[select srv from IN (doc.getObjects("Private.Network Services")) srv
order by srv.port] XWQL query to the [hql] language. Query statement =
[select srv from IN (doc.getObjects("Private.Network Services")) srv
order by srv.port]
Although I read JPQL documents, I couldn't come out with an answer.
Does anybody know how to write a correct XWQL statement?
I enabled view permission on wiki, space, and page levels for unregistered
users, but anonymous users see the below errors instead of a chart.
org.xwiki.rendering.macro.MacroExecutionException: You do not have
permission to view the document. at
org.xwiki.rendering.internal.macro.chart.source.table.DocumentTableBlockDataSource.validateParameters(DocumentTableBlockDataSource.java:194)
at
org.xwiki.rendering.internal.macro.chart.source.AbstractDataSource.validateParameters(AbstractDataSource.java:115)
at
org.xwiki.rendering.internal.macro.chart.source.table.AbstractTableBlockDataSource.buildDataset(AbstractTableBlockDataSource.java:137)
at
org.xwiki.rendering.internal.macro.chart.ChartMacro.generateChart(ChartMacro.java:154)
at
org.xwiki.rendering.internal.macro.chart.ChartMacro.execute(ChartMacro.java:110)
at
org.xwiki.rendering.internal.macro.chart.ChartMacro.execute(ChartMacro.java:56)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:189)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:136)
at
org.xwiki.rendering.internal.macro.html.HTMLMacro.renderWikiSyntax(HTMLMacro.java:263)
at
org.xwiki.rendering.internal.macro.html.HTMLMacro.execute(HTMLMacro.java:146)
at
org.xwiki.rendering.internal.macro.html.HTMLMacro.execute(HTMLMacro.java:71)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:189)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:136)
at
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:87)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:250)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:124)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:54)
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:80)
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:38)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113)
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.getRenderedContent(XWikiDocument.java:990)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:953)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:926)
at
com.xpn.xwiki.objects.classes.TextAreaClass.displayView(TextAreaClass.java:220)
at com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:2760) at
com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:2721) at
com.xpn.xwiki.doc.XWikiDocument.display(XWikiDocument.java:2670) at
com.xpn.xwiki.api.Document.display(Document.java:1507) at
sun.reflect.GeneratedMethodAccessor1048.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601) 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.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.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.ASTIfStatement.render(ASTIfStatement.java:87)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:72)
at org.apache.velocity.runtime.directive.Foreach.render(Foreach.java:420)
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.directive.Foreach.render(Foreach.java:420)
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.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.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
org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:124)
at
org.xwiki.rendering.internal.macro.velocity.VelocityMacro.evaluateString(VelocityMacro.java:50)
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.evaluateBlock(AbstractScriptMacro.java:302)
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:198)
at
org.xwiki.rendering.macro.script.AbstractScriptMacro.execute(AbstractScriptMacro.java:59)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transformOnce(MacroTransformation.java:189)
at
org.xwiki.rendering.internal.transformation.macro.MacroTransformation.transform(MacroTransformation.java:136)
at
org.xwiki.rendering.internal.transformation.DefaultTransformationManager.performTransformations(DefaultTransformationManager.java:87)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:250)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:124)
at
org.xwiki.display.internal.DocumentContentDisplayer.display(DocumentContentDisplayer.java:54)
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:80)
at
org.xwiki.display.internal.DefaultDocumentDisplayer.display(DefaultDocumentDisplayer.java:38)
at
org.xwiki.sheet.internal.SheetDocumentDisplayer.display(SheetDocumentDisplayer.java:113)
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.getRenderedContent(XWikiDocument.java:904)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:883)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:914)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:603) at
sun.reflect.GeneratedMethodAccessor1103.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601) 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.value(ASTReference.java:567)
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.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:1766) at
com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:1706) at
com.xpn.xwiki.api.XWiki.parseTemplate(XWiki.java:854) at
sun.reflect.GeneratedMethodAccessor864.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601) 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.ASTIfStatement.render(ASTIfStatement.java:87)
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:1766) 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:621) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:722) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at com.xpn.xwiki.web.ActionFilter.doFilter(ActionFilter.java:120) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.wysiwyg.server.filter.ConversionFilter.doFilter(ConversionFilter.java:144)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
com.xpn.xwiki.plugin.webdav.XWikiDavFilter.doFilter(XWikiDavFilter.java:66)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.container.servlet.filters.internal.SavedRequestRestorerFilter.doFilter(SavedRequestRestorerFilter.java:208)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.xwiki.container.servlet.filters.internal.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:111)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:243)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:224)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:169)
at
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:168)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
at
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:927)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:407)
at
org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:987)
at
org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:579)
at
org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:309)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
{{velocity}}
##hello##
{{/velocity}}
Just prints nothing.
Since ## means the beginning of a comment in velocity, I can't use ## and
## as monospace wiki markup.
What can I do?