Re: [xwiki-users] RES: need help to use workflow extension
Do I need to copy the wrokflow API in my Tomcat directory? http://maven.xwiki.org/releases/org/xwiki/contrib/workflow-publication/xwiki-workflow-publication-api/1.0.2/ or workflow extension is sufficient? Thxs De : Pascal BASTIEN À : Danilo Amaral de Oliveira ; XWiki Users Envoyé le : Jeudi 30 janvier 2014 11h05 Objet : Re: RES: [xwiki-users] need help to use workflow extension Yes I created the workflow and 2 spaces (draft and publication). Here what I 've done: I create 2 spaces: - draft - publication Add-Space-Space name and "blank page" selected. "Space:Draft" - Administer Draft-Panel Wizard and Drag and Drop "Workflow" Panel at he right on my windows and Save New Layout I'm going on the PublicationWorkflow space (PublicationWorkflow/WebHome)- Add a Page: - "Publication Workflow Config Template " selected - Space Name - Space name "PublicationWorkflow" - Page name: "MyPrettyWorkflow" I fill the 3 groups with existants groups and chose "Draft" in defaultDraftSpace-Save&view Then I'm going on my "Draft ", I edite and save a new page "MyPage" In my workflow panel: "Page de publication": MyPage "Espace de publication" Publication workflow: MyPrettyWorkflow = I click on "Initier le workflow" ... and I obtain this error message: workflow doc ref: workflow:Draft.MyPage Action : start workflow.script.failed I checked if my email go out. Thxs for your help. De : Danilo Amaral de Oliveira À : Pascal BASTIEN ; XWiki Users Envoyé le : Mercredi 29 janvier 2014 16h32 Objet : RES: [xwiki-users] need help to use workflow extension Hello Pascal, Actually I am using in my XWiki 5.3. Really the extension usability is not the best but it works! I even customized it to company! In my workflow the published document go to a specific space and get the draft page name... Did you create the workflow? Did you set the draft space? How do you tried to use it? Danilo Grupo Energisa Danilo A. Oliveira Analista Suporte Aplicacao TI - DETI e-mail: danilo.olive...@energisa.com.br | tel: (32) 3429-6342 Esta mensagem contém informação confidencial. Se você a recebeu por engano, não divulgue ou copie seu conteúdo. Por favor, avise ao remetente imediatamente e apague-a do computador. Privileged and confidential. If this message has been received by mistake, do not disclose or copy its contents. Please notify sender and delete immediately. -Mensagem original- De: users [mailto:users-boun...@xwiki.org] Em nome de Pascal BASTIEN Enviada em: quarta-feira, 29 de janeiro de 2014 13:11 Para: users@xwiki.org Assunto: [xwiki-users] need help to use workflow extension Hello, I try to use the workflow extension http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Publication+Workflow+Application on xwiki 5.3. I installed the extension 1.02 version with the extension manager but I obtaint this message when I use it: "workflow doc ref: workflow:EspaceBrouillon.WebHome Action : start workflow.script.failed" The documentation is too light and probably something miss me. If you tried this extension can you tell me if it is work on xwiki 5.3? If yes, have you some documentation (or help) to use it? Thxs by advance. Pascal B. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] [ANN] XWiki 5.4 Release Candidate 1 released
On Fri, Jan 31, 2014 at 8:02 AM, Thomas Mortagne wrote: > The XWiki development team is proud to announce the availability of > XWiki 5.4 Release Candidate 1. > This is an improvement and stability release for things started during > the 5.x cycle. > > You can download it here: > http://www.xwiki.org/xwiki/bin/view/Main/Download (please allow a few > hours for the binaries to propagate to the download servers if the > download doesn't work yet) > > Make sure to review the release notes: > http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki4RC1 Here is the correct link: http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki54RC1 > > Thanks > -The XWiki dev team -- Thomas Mortagne ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
[xwiki-users] [ANN] XWiki 5.4 Release Candidate 1 released
The XWiki development team is proud to announce the availability of XWiki 5.4 Release Candidate 1. This is an improvement and stability release for things started during the 5.x cycle. You can download it here: http://www.xwiki.org/xwiki/bin/view/Main/Download (please allow a few hours for the binaries to propagate to the download servers if the download doesn't work yet) Make sure to review the release notes: http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWiki4RC1 Thanks -The XWiki dev team ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How do I add FAQ to existing Space?
If I search the text in the field under the "Question" header it correctly searches the FAQs. If I type the text in the "question text..." field in the fancy search FAQ box I get the following error, "Failed to execute the [velocity] macro". I added the filter parameter "filter=space=IT" but that didn't make any difference. The editor has the alert "The environment prevents the table from loading data." What else does it want? Thanks, Bill Vlahos -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of Bill Vlahos Sent: Thursday, January 30, 2014 11:31 AM To: XWiki Users Subject: Re: [xwiki-users] How do I add FAQ to existing Space? Thanks. The first suggestion worked to add the FAQ to a space or Page. I could have sworn I tried this earlier but it is working now. The second suggestion doesn't hide anything even though the checkbox is checked to hide it. I suspect it is because the default skin is used and the docs say the default skin doesn't hide anything. Thank you, Bill Vlahos -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of Ecaterina Moraru (Valica) Sent: Thursday, January 30, 2014 3:43 AM To: XWiki Users Subject: Re: [xwiki-users] How do I add FAQ to existing Space? Hi, 1. Go Add menu -> Space. Let's say the new space is MyFAQ. You will be redirected in the MyFAQ.WebHome edit state. Give a title. Save the page. Now edit this MyFAQ.WebHome page in Edit -> Objects mode http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HObjectseditingmodeand add an object of type FAQCode.FAQHomeClass. It should work now when you are going to visit the MyFAQ space. 2. You can remove the FAQ space, but you need to keep FAQCode since it contains the application functionality. In order to hide the pages see http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterprise40RC1#HNewtechnicalcontenthidingsystem Thanks, Caty On Thu, Jan 30, 2014 at 2:48 AM, Bill Vlahos wrote: > I added the FAQ extension which adds a new space and a working FAQ in > that space. > > I don't want new FAQ and FAQCode Spaces but I do want to add a FAQ to > one of the spaces. Here is what the FAQ instructions say. > By default this application creates a FAQ space in FAQ.WebHome. > However you can easily transform any other space into a FAQ space by > editing that space's WebHome page and adding an Object of type > FAQCode.FAQHomeClass. > > > 1. I added the object to the desired space page but I don't see it > in the space. It would be fine if the FAQ is either on the space page > or a FAQ page in the space. How do I make it visible in the new space > and working? > > 2. How do I remove or hide the FAQ and FAQCode spaces from the list > of viewable spaces? > > Thank you, > Bill Vlahos > Xwiki 5.3 > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How do I add FAQ to existing Space?
Thanks. The first suggestion worked to add the FAQ to a space or Page. I could have sworn I tried this earlier but it is working now. The second suggestion doesn't hide anything even though the checkbox is checked to hide it. I suspect it is because the default skin is used and the docs say the default skin doesn't hide anything. Thank you, Bill Vlahos -Original Message- From: users [mailto:users-boun...@xwiki.org] On Behalf Of Ecaterina Moraru (Valica) Sent: Thursday, January 30, 2014 3:43 AM To: XWiki Users Subject: Re: [xwiki-users] How do I add FAQ to existing Space? Hi, 1. Go Add menu -> Space. Let's say the new space is MyFAQ. You will be redirected in the MyFAQ.WebHome edit state. Give a title. Save the page. Now edit this MyFAQ.WebHome page in Edit -> Objects mode http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HObjectseditingmodeand add an object of type FAQCode.FAQHomeClass. It should work now when you are going to visit the MyFAQ space. 2. You can remove the FAQ space, but you need to keep FAQCode since it contains the application functionality. In order to hide the pages see http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterprise40RC1#HNewtechnicalcontenthidingsystem Thanks, Caty On Thu, Jan 30, 2014 at 2:48 AM, Bill Vlahos wrote: > I added the FAQ extension which adds a new space and a working FAQ in > that space. > > I don't want new FAQ and FAQCode Spaces but I do want to add a FAQ to > one of the spaces. Here is what the FAQ instructions say. > By default this application creates a FAQ space in FAQ.WebHome. > However you can easily transform any other space into a FAQ space by > editing that space's WebHome page and adding an Object of type > FAQCode.FAQHomeClass. > > > 1. I added the object to the desired space page but I don't see it > in the space. It would be fine if the FAQ is either on the space page > or a FAQ page in the space. How do I make it visible in the new space > and working? > > 2. How do I remove or hide the FAQ and FAQCode spaces from the list > of viewable spaces? > > Thank you, > Bill Vlahos > Xwiki 5.3 > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] xwiki users issue after XE migration
On 01/29/2014 04:51 PM, ccoreggioli wrote: > Hi All, > > i got an issue with users after an hard migration from XE 2.5 to XE 5.3 (tnx > again Denis). > > in the header section of the page, where usually there are menus, link to > profile, logout and so on, the section itself is not showed while there's > the following error stacktrace: > > Error number 4001 in 4: Error while parsing velocity page > /templates/menuview.vm > com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing > velocity page /templates/menuview.vm [] > Caused by: java.lang.StringIndexOutOfBoundsException: String index out of > range: -1 > at java.lang.String.substring(String.java:1937) > at > com.xpn.xwiki.plugin.watchlist.WatchListStore.unescapeList(WatchListStore.java:444) > at > com.xpn.xwiki.plugin.watchlist.WatchListStore.getWatchedElements(WatchListStore.java:420) > at > com.xpn.xwiki.plugin.watchlist.WatchListPluginApi.isSpaceWatched(WatchListPluginApi.java:166) > at sun.reflect.GeneratedMethodAccessor600.invoke(Unknown Source) [...] Looks like the users watchlist value has been damaged by something. (Looking at the code I actually have no idea how this can happen). Anyway, if you can e.g. use the Wiki Admin to navigate to the user profile page, edit this with the object editor and clear the "Space list" in the XWiki.WatchListClass object, this hopefully should fix the problem. If there are no privacy issues with that value, I would be curious to know which value for the "watched Spaces list" is able to break the main menu ... Clemens > > any idea where to act to solve this issue? > > Thanks, > claudio > > > > -- > View this message in context: > http://xwiki.475771.n2.nabble.com/xwiki-users-issue-after-XE-migration-tp7588844.html > Sent from the XWiki- Users mailing list archive at Nabble.com. > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Howto access property values of a document's class
Hi Matthias, the problem is that if loaded via HQL the objects do not come with all their properties loaded; but you can load them by extending the HQL query: {{groovy}} hql ="select obj, prop from BaseObject as obj, StringProperty as prop where obj.className='MySpace.MyClass' and obj.id=prop.id.id and prop.name='MyProperty'" results = services.query.hql(hql).execute() println "|= Title |= Value" results.each { item -> println "|[[${item[0].name}>>${item[0].name}]]| ${item[1].getValue()}" } {{/groovy}} (This is assuming that 'MyProperty' is actually a StringProperty, and not e.g. a DateProperty) There is more about it on the Query Module page: http://extensions.xwiki.org/xwiki/bin/view/Extension/Query+Module Hope this helps, Clemens BTW, for me the "magic query completion" that e.g. make the HQL-query containing the empty string list all documents in the current wiki does no longer work, while it is given as example in the documentation. A "where 1=1" works flawlessly however. Is this just me? On 01/29/2014 10:42 PM, Matthias Albert wrote: > hi Marius, > thanks for your answer. > > My problem seems to be different: I would like to show property values > of objects not contained in the current document. > > At last, I tried this > {{groovy}} > hql = "select obj from BaseObject obj where obj.className='MySpace.MyClass'" > results = xwiki.search(hql, 0, 0) > xclass = results[0].getxWikiClass(xcontext.context) > > println "|=Title |= Value > results.each { item -> > println "|[[$item.name>>$item.name]] |${item.get('MyProperty')} | > } > {{/groovy}} > > > (I hope, I didn't copy it wrong) > Mostly you did, but something has eaten the closing quotes of the println statements. Pretty easy to find this out, however ;) > This should print a table iterating over all objects of MyClass, with > the first column showing the object title, which works fine. The second > column should show some property value. But no combination of method > invocations of BaseCollection, BaseObject, PropertyInterface etc. worked. > > > > Thanks > Matthias > > > Am 29.01.2014 08:25, schrieb Marius Dumitru Florea: >> See >> http://platform.xwiki.org/xwiki/bin/view/DevGuide/APIGuide#HAccessobjectsinapage >> . You should also check the sheet generated by AWM for your class >> structure. See >> http://extensions.xwiki.org/xwiki/bin/view/Extension/App+Within+Minutes+Application#HApplicationStructure >> . >> >> Hope this helps, >> Marius >> >> On Tue, Jan 28, 2014 at 6:39 PM, Matthias Albert >> wrote: >>> Hi all, >>> >>> after I managed to create a class structure using AppWithinMinutes, I >>> could create objects of this class in the Application's start page. >>> >>> Now I am trying to create a different xwiki page, that should show a >>> filtered table view of the objects created using velocity statements. >>> >>> I could create a #foreach loop iterating over the objects and show each >>> object's name. >>> >>> My problem is: how can I show some of the property values? The class >>> properties have names like: >>> Beschreibung (shortText1: String) >>> >>> Can anyone give a hint? >>> >>> >>> Thank you in advance >>> Matthias >>> ___ >>> users mailing list >>> users@xwiki.org >>> http://lists.xwiki.org/mailman/listinfo/users >> ___ >> users mailing list >> users@xwiki.org >> http://lists.xwiki.org/mailman/listinfo/users >> > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > mit freundlichen Grüßen Clemens Klein-Robbenhaar -- Clemens Klein-Robbenhaar Software Development EsPresto AG Breite Str. 30-31 10178 Berlin/Germany Tel: +49.(0)30.90 226.763 Fax: +49.(0)30.90 226.760 robbenh...@espresto.com HRB 77554 B - Berlin-Charlottenburg Vorstand: Maya Biersack, Peter Biersack Vorsitzender des Aufsichtsrats: Dipl.-Wirtsch.-Ing. Winfried Weber Zertifiziert nach ISO 9001:2008 ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] How do I add FAQ to existing Space?
Hi, 1. Go Add menu -> Space. Let's say the new space is MyFAQ. You will be redirected in the MyFAQ.WebHome edit state. Give a title. Save the page. Now edit this MyFAQ.WebHome page in Edit -> Objects mode http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HObjectseditingmodeand add an object of type FAQCode.FAQHomeClass. It should work now when you are going to visit the MyFAQ space. 2. You can remove the FAQ space, but you need to keep FAQCode since it contains the application functionality. In order to hide the pages see http://www.xwiki.org/xwiki/bin/view/ReleaseNotes/ReleaseNotesXWikiEnterprise40RC1#HNewtechnicalcontenthidingsystem Thanks, Caty On Thu, Jan 30, 2014 at 2:48 AM, Bill Vlahos wrote: > I added the FAQ extension which adds a new space and a working FAQ in that > space. > > I don't want new FAQ and FAQCode Spaces but I do want to add a FAQ to one > of the spaces. Here is what the FAQ instructions say. > By default this application creates a FAQ space in FAQ.WebHome. However > you can easily transform any other space into a FAQ space by editing that > space's WebHome page and adding an Object of type FAQCode.FAQHomeClass. > > > 1. I added the object to the desired space page but I don't see it > in the space. It would be fine if the FAQ is either on the space page or a > FAQ page in the space. How do I make it visible in the new space and > working? > > 2. How do I remove or hide the FAQ and FAQCode spaces from the list > of viewable spaces? > > Thank you, > Bill Vlahos > Xwiki 5.3 > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] Is it possible to create child pages of a page?
Hi, http://platform.xwiki.org/xwiki/bin/view/Features/PageEditing#HSettingthepageparent Thanks, Caty On Thu, Jan 30, 2014 at 2:00 AM, Bill Vlahos wrote: > I understand creating Spaces and Pages within Spaces. Is it possible to > create and additional level down to subpages of a page? > > I've seen this with other wikis but I don't see how I can do it with Xwiki. > > Bill Vlahos > > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] 'refine your search' panel is mangled
ha... cant believe it was that simple... thanks so much! On 30 January 2014 19:03, vinc...@massol.net wrote: > Hi, > > Could you try to force clean your browser's cache? > > Thanks > -Vincent > > > On 30 Jan 2014 at 07:43:16, Haydn Mearns (hmea...@gmail.com(mailto: > hmea...@gmail.com)) wrote: > > > Hi All, > > > > I have recently upgraded to 5.3 and have been very impressed... > > > > one issue remains though, when I search the 'refine your search' panel > > is not displaying on the right hand side, instead it is displaying with > > all the options down the page before I get to search results... I have > > tried reinstalling and just upgrading the solr search application > > extension and it is still displaying incorrectly, any clues? > > > > thanks in advance > > > > H > ___ > users mailing list > users@xwiki.org > http://lists.xwiki.org/mailman/listinfo/users > ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] RES: need help to use workflow extension
Yes I created the workflow and 2 spaces (draft and publication). Here what I 've done: I create 2 spaces: - draft - publication Add-Space-Space name and "blank page" selected. "Space:Draft" - Administer Draft-Panel Wizard and Drag and Drop "Workflow" Panel at he right on my windows and Save New Layout I'm going on the PublicationWorkflow space (PublicationWorkflow/WebHome)- Add a Page: - "Publication Workflow Config Template " selected - Space Name - Space name "PublicationWorkflow" - Page name: "MyPrettyWorkflow" I fill the 3 groups with existants groups and chose "Draft" in defaultDraftSpace-Save&view Then I'm going on my "Draft ", I edite and save a new page "MyPage" In my workflow panel: "Page de publication": MyPage "Espace de publication" Publication workflow: MyPrettyWorkflow = I click on "Initier le workflow" ... and I obtain this error message: workflow doc ref: workflow:Draft.MyPage Action : start workflow.script.failed I checked if my email go out. Thxs for your help. De : Danilo Amaral de Oliveira À : Pascal BASTIEN ; XWiki Users Envoyé le : Mercredi 29 janvier 2014 16h32 Objet : RES: [xwiki-users] need help to use workflow extension Hello Pascal, Actually I am using in my XWiki 5.3. Really the extension usability is not the best but it works! I even customized it to company! In my workflow the published document go to a specific space and get the draft page name... Did you create the workflow? Did you set the draft space? How do you tried to use it? Danilo Grupo Energisa Danilo A. Oliveira Analista Suporte Aplicacao TI - DETI e-mail: danilo.olive...@energisa.com.br | tel: (32) 3429-6342 Esta mensagem contém informação confidencial. Se você a recebeu por engano, não divulgue ou copie seu conteúdo. Por favor, avise ao remetente imediatamente e apague-a do computador. Privileged and confidential. If this message has been received by mistake, do not disclose or copy its contents. Please notify sender and delete immediately. -Mensagem original- De: users [mailto:users-boun...@xwiki.org] Em nome de Pascal BASTIEN Enviada em: quarta-feira, 29 de janeiro de 2014 13:11 Para: users@xwiki.org Assunto: [xwiki-users] need help to use workflow extension Hello, I try to use the workflow extension http://extensions.xwiki.org/xwiki/bin/view/Extension/XWiki+Publication+Workflow+Application on xwiki 5.3. I installed the extension 1.02 version with the extension manager but I obtaint this message when I use it: "workflow doc ref: workflow:EspaceBrouillon.WebHome Action : start workflow.script.failed" The documentation is too light and probably something miss me. If you tried this extension can you tell me if it is work on xwiki 5.3? If yes, have you some documentation (or help) to use it? Thxs by advance. Pascal B. ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users
Re: [xwiki-users] 'refine your search' panel is mangled
Hi, Could you try to force clean your browser’s cache? Thanks -Vincent On 30 Jan 2014 at 07:43:16, Haydn Mearns (hmea...@gmail.com(mailto:hmea...@gmail.com)) wrote: > Hi All, > > I have recently upgraded to 5.3 and have been very impressed... > > one issue remains though, when I search the 'refine your search' panel > is not displaying on the right hand side, instead it is displaying with > all the options down the page before I get to search results... I have > tried reinstalling and just upgrading the solr search application > extension and it is still displaying incorrectly, any clues? > > thanks in advance > > H ___ users mailing list users@xwiki.org http://lists.xwiki.org/mailman/listinfo/users