Re: [xwiki-users] WritingComponents, First Try

2009-02-17 Thread Hervé Agnoux
Le mardi 17 février 2009, Jerome Velociter a écrit : Right, 1.5-SNAPSHOT was the latest snapshot version at the moment the tutorial has been written. AFAIK our policy is to keep snapshot versions on the maven repository for trunk + the latest branch, being currently 1.7 and 1.8 for the

[xwiki-users] Problem with setting space rights from Velocity

2009-02-17 Thread grinko
Hello folks, I have some troubles setting space rights from Velocity and can't find any examples for it. This code should generate new XWikiGlobalRights objects for each user. However, adding them to the Space.WebHome page doesn't work, and adding them to the Space.WebPreferences page (like the

Re: [xwiki-users] WritingComponents, First Try

2009-02-17 Thread Sergiu Dumitriu
Hervé Agnoux wrote: Le mardi 17 février 2009, Jerome Velociter a écrit : Right, 1.5-SNAPSHOT was the latest snapshot version at the moment the tutorial has been written. AFAIK our policy is to keep snapshot versions on the maven repository for trunk + the latest branch, being currently 1.7

Re: [xwiki-users] Problem with setting space rights from Velocity

2009-02-17 Thread Sergiu Dumitriu
grinko wrote: Hello folks, I have some troubles setting space rights from Velocity and can't find any examples for it. This code should generate new XWikiGlobalRights objects for each user. However, adding them to the Space.WebHome page doesn't work, and adding them to the

Re: [xwiki-users] Problem with setting space rights from Velocity

2009-02-17 Thread Jean Couteau
Hi, #foreach($newuser in $projectuserlist) #set ($myspace = $xwiki.getDocument(${projectname}.WebPreferences)) #set ($rightsObject = $myspace.newObject(XWiki.XWikiGlobalRights)) I would use #set ($rightsObject = $myspace.createNewObject(XWiki.XWikiGlobalRights)) #set ($result =

[xwiki-users] hibernate query question

2009-02-17 Thread Sebastian Kannengiesser
Hi guys, what is wrong here: --snip-- select prop.value from BaseObject as obj, StringProperty as prop, StringProperty as prop2, where obj.className='XWiki.ServicesReviewerClass' and prop.id.id=obj.id and prop2.id.id=obj.id and prop.id.name='name' and prop2.id.name='externintern' and

Re: [xwiki-users] hibernate query question

2009-02-17 Thread Sebastian Kannengiesser
The error comes from somewhere else in my class I think, as I took out the prop2 condition things and it still does not work. Would be nice, if you could tell me anyways, if the statement is correct for what I plan to do. Thanx Cheers Sebastian On Tue, Feb 17, 2009 at 12:29 PM, Sebastian

[xwiki-users] Myxwiki Programming rights required

2009-02-17 Thread Ajdin Brandic
To myxwiki admin people Can someone reinstate/flush my progtramming rights, username: ajdinbrandic I had programming rights set up by Vincent for myxwiki.patternlanguagenetwork.org. Due to issues with upgrade I lost all rights. Now my admin rights have been reinstated but yesterday I added a

Re: [xwiki-users] Myxwiki Programming rights required

2009-02-17 Thread Vincent Massol
Hi Ajdin, On Feb 17, 2009, at 12:51 PM, Ajdin Brandic wrote: To myxwiki admin people Can someone reinstate/flush my progtramming rights, username: ajdinbrandic I had programming rights set up by Vincent for myxwiki.patternlanguagenetwork.org. Due to issues with upgrade I lost all

Re: [xwiki-users] Panel Wizard doesn't show it

2009-02-17 Thread Antonio Goncalves
Thanks Vincent. I've installed the new Panel application ( http://code.xwiki.org/xwiki/bin/view/Applications/PanelsApplicationDownloads) and it works fine. Antonio 2009/2/13 Vincent Massol vinc...@massol.net Hi Antonio, On Feb 8, 2009, at 10:32 AM, Antonio Goncalves wrote: Yes Vincent, you

Re: [xwiki-users] Myxwiki Programming rights required

2009-02-17 Thread Ajdin Brandic
It is strange. Why is the cloud only working on Tags page and not on any other ones. I have v1.8 localy and works OK. Are any other rights required? Ajdin -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Vincent Massol Sent: 17 February

Re: [xwiki-users] Myxwiki Programming rights required

2009-02-17 Thread Jean-Vincent Drean
You should update your wiki with XE 1.8M2 xar and use the XWiki.TagCloud page to display the cloud instead of using the deprecated snippet which requires programming rights. JV. On Tue, Feb 17, 2009 at 12:51 PM, Ajdin Brandic aa6...@coventry.ac.uk wrote: To myxwiki admin people Can someone

Re: [xwiki-users] Myxwiki Programming rights required

2009-02-17 Thread Ajdin Brandic
I was not aware of this page, any documentation? Is this something like this http://91.121.237.216/xwiki/bin/view/XWiki/TagCloud?viewer=code . Or ??? Ajdin -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Jean-Vincent Drean Sent: 17

Re: [xwiki-users] Myxwiki Programming rights required

2009-02-17 Thread Ajdin Brandic
Also the tagcloud code might be old but is simple and uses two simple queries. Why is it deprecated snippet ? No reason why it should work on one page and not on another. Ajdin -Original Message- From: users-boun...@xwiki.org [mailto:users-boun...@xwiki.org] On Behalf Of Ajdin Brandic

Re: [xwiki-users] Hibernate bug while trying to save modifications

2009-02-17 Thread Jean Couteau
Dear all, I found a way around this problem. I created a class with the same fields and a groovy script that takes all the objects of the previous class to save them into objects from the second class. Replace all the references to the first class by reference to the second class. I was a

Re: [xwiki-users] Myxwiki Programming rights required

2009-02-17 Thread Jean-Vincent Drean
On Tue, Feb 17, 2009 at 5:48 PM, Ajdin Brandic aa6...@coventry.ac.uk wrote: Also the tagcloud code might be old but is simple and uses two simple queries. Why is it deprecated snippet ? It is deprecated since there's now a tag plugin that allows to manipulate tags : - without requiring

Re: [xwiki-users] Myxwiki Programming rights required

2009-02-17 Thread Ajdin Brandic
HI Also the tagcloud code might be old but is simple and uses two simple queries. Why is it deprecated snippet ? It is deprecated since there's now a tag plugin that allows to manipulate tags : - without requiring programming rights - without knowledge of the storage implementation

[xwiki-users] Search broken after moving xwiki

2009-02-17 Thread Samuel Lee
I moved our XWiki to another instance. Everything moved over correctly, but the search function seems to be broken. When I search for something, I get: Notice The requested document could not be found. You can edit this page to create it. Any ideas? Sam

Re: [xwiki-users] Search broken after moving xwiki

2009-02-17 Thread Guillaume Lerouge
Looks like you did not import the search page itself properly. Try importing your XAR again, unchecking everything then specifically check Main.WebSearch and Main.LuceneSearch and click import. This will hopefully fix your issue. Guillaume On Tue, Feb 17, 2009 at 11:18 PM, Samuel Lee