The XWiki development team is proud to announce the availability of XWiki
Enterprise 4.3 Milestone 2.
This release brings:
- a new and experimental Solr Search engine
- new default date, user and group pickers
- a new localization module allowing applications to register translations
- REST API additions
- various other improvements.
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/ReleaseNotesXWiki43M2
Thanks
-The XWiki dev team
Hi,
i am very new to Xwiki. I have added the statistic Panel "MostViewedPages"
with the Panel-Wizard and saved the new Layout successfully. Now the new
Panel is visible for me - as Administrator - but not for normal Users. Why?
Maybe there are not enough collected informations at this moment? Or the
panel is only visible for Admins?
Thanks!
Kind Regards,
Silvio
--
View this message in context: http://xwiki.475771.n2.nabble.com/MostViewedPages-Panel-only-visible-for-Ad…
Sent from the XWiki- Users mailing list archive at Nabble.com.
You need to send messages to both me and xwiki-users list.
Everybody should share knowledges.
What I want to do is extract all object of a class from a specific page,
not the entire objects from the wiki database.
How should I modify the query in this case?
And where can I find all those XWQL object model references? (Yes, it
reminds me of DOM)
doc.object, etc, ...
On Tue, Nov 13, 2012 at 5:59 PM, Jeremie BOUSQUET <
jeremie.bousquet(a)gmail.com> wrote:
> Well, it's not because the name is the same that it's the same method or
> API ... :)
>
> XWiki core api is a Java api, available to components and scripts
> (velocity, groovy ...). It provides access to documents as well as various
> features of the wiki.
>
> XWQL is a query language, superset of JPQL (Java Persistence Query
> Language ?) with some differences. You use it to query the data stored in
> the database.
> One of the differences between jpql/xwql is the syntax
> "doc.object(MyClass)" that selects all XObjects belonging to a particular
> XClass from the database. Apart from that, if you know JPQL then you mostly
> know XWQL.
>
> ("doc.getObject("MyClass")" , from java api, retrieves XObjects of a
> particular XClass from specified document only (and not from the whole
> wiki).)
>
>
>
> 2012/11/13 crocket <crockabiscuit(a)gmail.com>
>
>> Isn't doc.object(Class) part of XWiki core API?
>> I thought it was an alias of $doc.getObject("Class")
>>
>> I want to know what APIs XWQL has access to, but I couldn't find the
>> information.
>> On Mon, Nov 12, 2012 at 11:42 PM, Jeremie BOUSQUET <
>> jeremie.bousquet(a)gmail.com> wrote:
>>
>>> doc.getObjects("MyClass") is from the xwiki core java api, but is not
>>> part of the XWQL querying language.
>>>
>>> The query:
>>>
>>> select srv.port from Document doc, doc.object(Private.Network Services)
>>> as srv order by srv.port
>>>
>>> ... translates to " select "port" field from all XObjects that are of
>>> class "Private.Network Services", ordering by "port" field "
>>> So this query would retrieve the value of "port" field from all of these
>>> XObjects (that we name "srv" in the query), wherever they are and whatever
>>> their count.
>>>
>>>
>>>
>>>
>>> 2012/11/12 crocket <crockabiscuit(a)gmail.com>
>>>
>>>> doc.getObjects was there since I had multiple instance of the same
>>>> class.
>>>>
>>>>
>>>>
>>>> On Mon, Nov 12, 2012 at 8:32 PM, Jeremie BOUSQUET <
>>>> jeremie.bousquet(a)gmail.com> wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> I think this is not correct:
>>>>> select srv from IN (doc.getObjects("Private.Network Services")) srv
>>>>> order
>>>>> by srv.port
>>>>>
>>>>> Should be more something like:
>>>>> select srv.port from Document doc, doc.object(Private.Network
>>>>> Services) as
>>>>> srv order by srv.port
>>>>>
>>>>> Replacing the "select srv.port" by what fields you want to retrieve.
>>>>>
>>>>> Though obviously I'm not sure about what you wanted to achieve with
>>>>> your
>>>>> request to start with ...
>>>>>
>>>>> Br,
>>>>> Jeremie
>>>>>
>>>>>
>>>>> 2012/11/12 crocket <crockabiscuit(a)gmail.com>
>>>>>
>>>>> > Yes, I read it, and it seems collection member declarations don't
>>>>> work in
>>>>> > xwiki.
>>>>> >
>>>>> >
>>>>> > On Mon, Nov 12, 2012 at 6:13 PM, Jerome Velociter <
>>>>> jerome(a)velociter.fr
>>>>> > >wrote:
>>>>> >
>>>>> > > Le 12/11/12 09:37, crocket a écrit :
>>>>> > >
>>>>> > > 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?
>>>>> > >>
>>>>> > >
>>>>> > > Have you read
>>>>> http://extensions.xwiki.org/**xwiki/bin/view/Extension/**
>>>>> > > Query+Module#**HQueryLanguageExamples<
>>>>> >
>>>>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module#HQueryLan…
>>>>> > >?
>>>>> > >
>>>>> > > Jerome
>>>>> > >
>>>>> > >> ______________________________**_________________
>>>>> > >> users mailing list
>>>>> > >> users(a)xwiki.org
>>>>> > >> http://lists.xwiki.org/**mailman/listinfo/users<
>>>>> > http://lists.xwiki.org/mailman/listinfo/users>
>>>>> > >>
>>>>> > >
>>>>> > > ______________________________**_________________
>>>>> > > users mailing list
>>>>> > > users(a)xwiki.org
>>>>> > > http://lists.xwiki.org/**mailman/listinfo/users<
>>>>> > 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
>>>>>
>>>>
>>>>
>>>
>>
>
Hi!
i like to edit text input fields via FF addon "It's all text" in emacs :-)
This is especially helpful if you need an advanced feature like "search
and replace" ;-)
Only one thing is missing - syntax highlighting.
Has anybody an emacs mode covering the XWiki 2.x syntax ?
Best Regards,
H.-Dirk Schmitt
--
Signature H.-Dirk Schmitt
------------------------------------------------------------------------
*
H.-Dirk Schmitt <http://www.computer42.org>*
Dipl.Math.
eMail:/dirk.schmitt@computer42.org/
mobile:/+49 177 616 8564/
phone: /+49 2642 99 41 10/
fax: /+49 2642 99 41 15/
Kripper Str. 35, D-53489 Sinzig
pgp: http://www.computer42.org/~dirk/OpenPGP-fingerprint.html
<http://www.computer42.org/%7Edirk/OpenPGP-fingerprint.html>
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?
Isn't doc.object(Class) part of XWiki core API?
I thought it was an alias of $doc.getObject("Class")
I want to know what APIs XWQL has access to, but I couldn't find the
information.
On Mon, Nov 12, 2012 at 11:42 PM, Jeremie BOUSQUET <
jeremie.bousquet(a)gmail.com> wrote:
> doc.getObjects("MyClass") is from the xwiki core java api, but is not part
> of the XWQL querying language.
>
> The query:
>
> select srv.port from Document doc, doc.object(Private.Network Services) as
> srv order by srv.port
>
> ... translates to " select "port" field from all XObjects that are of
> class "Private.Network Services", ordering by "port" field "
> So this query would retrieve the value of "port" field from all of these
> XObjects (that we name "srv" in the query), wherever they are and whatever
> their count.
>
>
>
>
> 2012/11/12 crocket <crockabiscuit(a)gmail.com>
>
>> doc.getObjects was there since I had multiple instance of the same class.
>>
>>
>>
>> On Mon, Nov 12, 2012 at 8:32 PM, Jeremie BOUSQUET <
>> jeremie.bousquet(a)gmail.com> wrote:
>>
>>> Hello,
>>>
>>> I think this is not correct:
>>> select srv from IN (doc.getObjects("Private.Network Services")) srv order
>>> by srv.port
>>>
>>> Should be more something like:
>>> select srv.port from Document doc, doc.object(Private.Network Services)
>>> as
>>> srv order by srv.port
>>>
>>> Replacing the "select srv.port" by what fields you want to retrieve.
>>>
>>> Though obviously I'm not sure about what you wanted to achieve with your
>>> request to start with ...
>>>
>>> Br,
>>> Jeremie
>>>
>>>
>>> 2012/11/12 crocket <crockabiscuit(a)gmail.com>
>>>
>>> > Yes, I read it, and it seems collection member declarations don't work
>>> in
>>> > xwiki.
>>> >
>>> >
>>> > On Mon, Nov 12, 2012 at 6:13 PM, Jerome Velociter <jerome(a)velociter.fr
>>> > >wrote:
>>> >
>>> > > Le 12/11/12 09:37, crocket a écrit :
>>> > >
>>> > > 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?
>>> > >>
>>> > >
>>> > > Have you read
>>> http://extensions.xwiki.org/**xwiki/bin/view/Extension/**
>>> > > Query+Module#**HQueryLanguageExamples<
>>> >
>>> http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module#HQueryLan…
>>> > >?
>>> > >
>>> > > Jerome
>>> > >
>>> > >> ______________________________**_________________
>>> > >> users mailing list
>>> > >> users(a)xwiki.org
>>> > >> http://lists.xwiki.org/**mailman/listinfo/users<
>>> > http://lists.xwiki.org/mailman/listinfo/users>
>>> > >>
>>> > >
>>> > > ______________________________**_________________
>>> > > users mailing list
>>> > > users(a)xwiki.org
>>> > > http://lists.xwiki.org/**mailman/listinfo/users<
>>> > 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
>>>
>>
>>
>
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?
To all,
If someone edits a page on our wiki, they are always creating a new
revision. Our users (including myself) do not mark an edit as "minor" (small
checkbox in the lower right when you edit a page "Is minor edit".
I would like to change this behaviour. I would like that every edit is a
minor edit (thus the checkbox should be checked by standard) and that a user
has to uncheck that if he's making a "major" edit.
Does anybody know if this is possible?
Now that I think of it, can't XWiki just ask me if I want to make a new
revision if I change/add for example 10% of a page? That should be a nice
feature :-)
--
View this message in context: http://xwiki.475771.n2.nabble.com/Minor-Edit-Strategy-tp7582091.html
Sent from the XWiki- Users mailing list archive at Nabble.com.
I have downloaded and installed standalone xwiki ent 4.2, it seemed to
go well. I installed to d:\XWiki Enterprise 4.2, didn't use the default
program files path the installer suggested (and I read later at
http://www.xwiki.com/xwiki/bin/view/Products/InstallationGuide that the
prog files dir is not good, the installer should be changed???)
I double click the start xwiki icon on my desktop. Nothing seems to
happen. I nav to http://localhost:8080/xwiki/ and see that firefox can't
establish a connection.
I rarely mess with java, and so I am not sure if I have a "A Servlet
Container supporting Servlet 2.4" which would be tomcat or something of
that order. Some other software I have installed uses tomcat, but I'm
not sure if it's running by default. Would the installer have warned me
if tomcat etc was not installed?
xwiki looks pretty neat, I am looking forward to testing it out.
Thanks
Hello!
I diving deeper and deeper in a livetables ...
I created custom JSON page with this content:
{{include document="XWiki.LiveTableResultsMacros" /}}
{{velocity}}
#if("$!{request.xpage}" == 'plain')
$response.setContentType('application/json')
#end
#set($map = {})
#gridresult_buildJSON("$!request.classname" $request.collist.split(',')
$map)
#foreach($row in $map.get('rows'))
#set($rowDoc = $xwiki.getDocument($row.get('doc_fullName')))
#set($parentDoc = $xwiki.getDocument($rowDoc.getParent()))
#set($discard = $row.put('pNo', "$foreach.count"))
#set($discard = $row.put('wDesc', " $parentDoc.getDisplayTitle()
<$parentDoc.getExternalURL()> "))
#end
$jsontool.serialize($map)
{{/velocity}}
As you can see, I added column with row number and column with link for the
parent page. JSON working, livetable showing, but I cannot filter by these
added columns ... any filter give empty result inside livetable.
Maybe I wrote something wrong ...
What need to do for normal working of filtering on a columns added by custom
json?
--
Thanks beforehand
Eugen Colesnicov
--
View this message in context: http://xwiki.475771.n2.nabble.com/Livetable-filtering-on-a-column-added-by-…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I had an issue where XWiki could not save a document in Inline-Mode using Internet Explorer (endless spinning-wheel).
I got following error:
SCRIPT5007: the property "serialize" has no value: the object is Null or undefined
actionButtons.js, Zeile 155 Zeichen 7
The reason for that were programmatically produced forms by an included macro (<form name=" ${obj}" action="">...</form>) in inline-mode. I just left out the form-tags around the input- and option-elements and that was the fix. Perhaps someone finds out a solution at the root, I couldn't so far.
Regards,
Josef Haimerl
Hello,
i have installed XWIKI Enterprise 4.2 on a Tomcat-server with Apache in front.
Direct access on Tomcat-URL is OK.
But if go over Apache and try to login the message occurs:
"Unauthorized: This server could not verify that you are authorized
to access the document requested. Either you supplied the wrong
credentials (eg, bad password) or your browser doesn't understand how to
supply the credentials required.
The browser's URL is redirected to
https://mysub.mydomain.com/xwiki/bin/login/XWiki/XWikiLogin?xredirect=%2Fxw…
xwiki.cfg is configured with:
xwiki.home=https://mysub.mydomain.com/xwiki/
xwiki.url.protocol=https
xwiki.webapppath=xwiki/
Do you have a hint ?
Thanks in advance.
Best regards
Ingo
May be a basic problem but when I use the {{cache}} macro, the content is
never refreshed (not after the default 5 minutes, nor the specified time by
the timeToLive).
I'm using XWiki 4.2.
--
View this message in context: http://xwiki.475771.n2.nabble.com/problem-with-the-cache-macro-tp7582215.ht…
Sent from the XWiki- Users mailing list archive at Nabble.com.
I am out of the office until 11/07/2012.
I will have no Internet access. If this is an emergency, please contact my
manager, Kathy Kennedy, and she will find someone on my team to help you.
Note: This is an automated response to your message "users Digest, Vol 64,
Issue 5" sent on 11/06/2012 7:00:03.
This is the only notification you will receive while this person is away.