Re: [xwiki-users] Programming rights needed for Copy Action

2010-03-05 Thread raphaelle
Waiting the correction of the bug you can correct it now by modifying the file contentmenu.vm of the template you use, you look for the word copy, you'll find: #if( $xwiki.hasProgrammingRights()) #submenuitem($doc.getURL('view', 'xpage=copy') $msg.get('core.menu.copy') 'tmActionCopy', '') #end

Re: [xwiki-users] Programming rights needed for Copy Action

2010-03-05 Thread Vincent Massol
Hi Raphaelle, On Mar 5, 2010, at 9:18 AM, raphaelle wrote: Waiting the correction of the bug you can correct it now by modifying the file contentmenu.vm of the template you use, you look for the word copy, you'll find: #if( $xwiki.hasProgrammingRights()) #submenuitem($doc.getURL('view',

Re: [xwiki-users] Programming rights needed for Copy Action

2010-03-05 Thread raphaelle
indeed just realized it... I tried to cheat and modify the rights on the page Copy a document to link on her, so that all my users could copy, but it doesn't work... there is'nt a way to bypass the rights with some Velocity code put in the right place? -- View this message in context:

Re: [xwiki-users] What is $xwiki.getXMLEncoded()'s purpose in url names?

2010-03-05 Thread Thomas Mortagne
On Fri, Mar 5, 2010 at 04:58, Sergiu Dumitriu ser...@xwiki.com wrote: On 03/02/2010 08:20 PM, Thomas Mortagne wrote: On Tue, Mar 2, 2010 at 18:25, Sergiu Dumitriuser...@xwiki.com  wrote: On 03/02/2010 05:01 PM, Joel Forsberg wrote: Greetings On my wiki using swedish characters for xwiki

Re: [xwiki-users] E-Mail Notification by Scheduler Job Script ?

2010-03-05 Thread Thilo
Thanks for your Answer. Yes, i have clicked schedule. But I only got a Mail back when i clicked save and view, but not when the job is fired. I'll try your suggestion and post whether it works. Is it right that I dont nedd to put between {{groovy}} and {{/groovy}} in the field for the job

Re: [xwiki-users] E-Mail Notification by Scheduler Job Script ?

2010-03-05 Thread Guillaume Lerouge
Hi, On Fri, Mar 5, 2010 at 10:22 AM, Thilo ch...@gmx.de wrote: Thanks for your Answer. Yes, i have clicked schedule. But I only got a Mail back when i clicked save and view, but not when the job is fired. I'll try your suggestion and post whether it works. Is it right that I dont nedd to

Re: [xwiki-users] What is $xwiki.getXMLEncoded()'s purpose in url names?

2010-03-05 Thread Sergiu Dumitriu
On 03/05/2010 10:06 AM, Thomas Mortagne wrote: On Fri, Mar 5, 2010 at 04:58, Sergiu Dumitriuser...@xwiki.com wrote: On 03/02/2010 08:20 PM, Thomas Mortagne wrote: On Tue, Mar 2, 2010 at 18:25, Sergiu Dumitriuser...@xwiki.comwrote: On 03/02/2010 05:01 PM, Joel Forsberg wrote: Greetings

Re: [xwiki-users] What is $xwiki.getXMLEncoded()'s purpose in url names?

2010-03-05 Thread Thomas Mortagne
On Fri, Mar 5, 2010 at 10:40, Sergiu Dumitriu ser...@xwiki.com wrote: On 03/05/2010 10:06 AM, Thomas Mortagne wrote: On Fri, Mar 5, 2010 at 04:58, Sergiu Dumitriuser...@xwiki.com  wrote: On 03/02/2010 08:20 PM, Thomas Mortagne wrote: On Tue, Mar 2, 2010 at 18:25, Sergiu

[xwiki-users] Installations-problems on Debian, MySQL Tomcat (Deployment as single war)

2010-03-05 Thread 2smart4u
Hi guys, first off, thanks to VBincent, Anca Sdumitriu for pointing me to this list via Twitter My current environment: Using CATALINA_BASE: /home/tomcat/www Using CATALINA_HOME: /home/tomcat/www Using CATALINA_TMPDIR: /home/tomcat/www/temp Using JRE_HOME: /usr/lib/jvm/java-1.6.0-sun

[xwiki-users] Lucene Searching with object: keyword does not show expected results

2010-03-05 Thread Jeremie BOUSQUET
Hi, With XE 2.2.1, I think I have some issues retrieving expected results from Lucene search, using object: term. For example, if I want to search for comments containing test, I would enter as search term in Main.LuceneSearch: test AND object:XWiki.XWikiComments This returns no result in my

Re: [xwiki-users] Lucene Searching with object: keyword does not show expected results

2010-03-05 Thread Guillaume Lerouge
Hi, On Fri, Mar 5, 2010 at 12:28 PM, Jeremie BOUSQUET jeremie.bousq...@gmail.com wrote: Hi, With XE 2.2.1, I think I have some issues retrieving expected results from Lucene search, using object: term. For example, if I want to search for comments containing test, I would enter as search

Re: [xwiki-users] LDAP users with dot in username

2010-03-05 Thread Dilipkumar Jadhav
Thanks Guillaume... Both your reply and Thomas's response takes good care of my question :) On Fri, Mar 5, 2010 at 2:08 AM, Dilipkumar Jadhav jadhav.dilipku...@gmail.com wrote: Thanks for your prompt response Thomas...now I am relieved. All I need to do is figure out how to configure LDAP

[xwiki-users] [myxwiki] XWiki Enterprise 2.3-SNAPSHOT (3/3/2010) Upgrade

2010-03-05 Thread Vincent Massol
Hello, myxwiki.org has been upgraded to XWiki Enterprise 2.3-SNAPSHOT (3/3/2010). We've done this to test the stability of the upcoming XE 2.3 release. If you own a wiki hosted there you'll notice that the AllDocs page shows an empty list in your wiki. To fix this you need to upgrade your

Re: [xwiki-users] E-Mail Notification by Scheduler Job Script ?

2010-03-05 Thread Thilo
Ok. Now the Scheduler and E-Mail are working fine. The right way of use ist: xwiki.mailsender.sendMessage(...) My last Problem ist how to setup more than one Recepient in the Parameters. I've tryed the following way but without success.

Re: [xwiki-users] E-Mail Notification by Scheduler Job Script ?

2010-03-05 Thread Thilo
Got everything running. Notation was right but i made something wrong in the cron expression. Thanks for your help! Bye -- View this message in context: http://n2.nabble.com/E-Mail-Notification-by-Scheduler-Job-Script-tp4676911p4680528.html Sent from the XWiki- Users mailing list archive at

Re: [xwiki-users] [ANN] XWiki Enterprise and XWiki Enterprise Manager 2.2.2 Released

2010-03-05 Thread Thomas Mortagne
The XWiki development team is pleased to announce the release of XWiki Enterprise and XWiki Enterprise Manager 2.2.2. This is a bug fix release for the 2.2 branches. It fixes mainly two important regressions around documents object handling and office importer on Internet Explorer 7 so if you

Re: [xwiki-users] Installations-problems on Debian, MySQL Tomcat (Deployment as single war)

2010-03-05 Thread Anca Luca
Hi Gregor, On 03/05/2010 01:17 PM, 2smart4u wrote: Hi guys, first off, thanks to VBincent, Anca Sdumitriu for pointing me to this list via Twitter My current environment: Using CATALINA_BASE: /home/tomcat/www Using CATALINA_HOME: /home/tomcat/www Using CATALINA_TMPDIR:

Re: [xwiki-users] Installations-problems on Debian, MySQL Tomcat (Deployment as single war)

2010-03-05 Thread Sergiu Dumitriu
On 03/05/2010 12:17 PM, 2smart4u wrote: Hi guys, first off, thanks to VBincent, Anca Sdumitriu for pointing me to this list via Twitter My current environment: Using CATALINA_BASE: /home/tomcat/www Using CATALINA_HOME: /home/tomcat/www Using CATALINA_TMPDIR: /home/tomcat/www/temp

Re: [xwiki-users] What is $xwiki.getXMLEncoded()'s purpose in url names?

2010-03-05 Thread Joel Forsberg
On Friday 05 March 2010 04:58:57 Sergiu Dumitriu wrote: I need to use getXMLEncoded because the title doesn't always come from the content. I saw the suggestion to modify the getXMLEncoded route on the JIRA ticket, so I decided to do some testing with that. I only know two ways to set the

Re: [xwiki-users] Installations-problems on Debian, MySQL Tomcat (Deployment as single war)

2010-03-05 Thread 2smart4u
@Sergiu, thanks for your comments! select distinct charset(xwd_content) from xwikidoc; gives +--+ | charset(xwd_content) | +--+ | utf8 | +--+ Besides, I just can't setup the complete MySQL instance as UTF-8 since

Re: [xwiki-users] What is $xwiki.getXMLEncoded()'s purpose in url names?

2010-03-05 Thread Sergiu Dumitriu
On 03/05/2010 02:10 PM, Joel Forsberg wrote: On Friday 05 March 2010 04:58:57 Sergiu Dumitriu wrote: I need to use getXMLEncoded because the title doesn't always come from the content. I saw the suggestion to modify the getXMLEncoded route on the JIRA ticket, so I decided to do some testing

Re: [xwiki-users] Installations-problems on Debian, MySQL Tomcat (Deployment as single war)

2010-03-05 Thread 2smart4u
guys, i don't know which hint it was, but i guess it was the change of the mysql-driver - it seems to be working now, thanks a lot for that! but i'm pretty sure i'll have some more questions in the future, still. maybe just one qwuick one (haven't read the entire docs yet): when i want to

Re: [xwiki-users] Installations-problems on Debian, MySQL Tomcat (Deployment as single war)

2010-03-05 Thread Guillaume Lerouge
Hi, On Fri, Mar 5, 2010 at 3:34 PM, 2smart4u rc4...@googlemail.com wrote: guys, i don't know which hint it was, but i guess it was the change of the mysql-driver - it seems to be working now, thanks a lot for that! but i'm pretty sure i'll have some more questions in the future, still.

Re: [xwiki-users] Searching workaround for HTML in title-field

2010-03-05 Thread Joel Forsberg
On Friday 05 March 2010 15:06:34 Sergiu Dumitriu wrote: snipped {pre}{/pre} prevents re-rendering the content. The result with this is: A damn ruler Which again is a bit wrong, but this is a bug in the core, it always assumes that the content that it got from the title field is

[xwiki-users] Questions about XWiki

2010-03-05 Thread Simon Brandhof
Hi, We're evaluating XWiki for a project of collaborative portal. Just to explain the needs in a few points : - users can create and update pages (sometimes it's good to remind basics ;-) - a page is structured in fields. Fields are predefined in templates. The vocabulary for xwiki

Re: [xwiki-users] Installations-problems on Debian, MySQL Tomcat (Deployment as single war)

2010-03-05 Thread Vincent Massol
Hi Gregor, Cool, glad that it worked. Could you tell me what version didn't work and what version worked for you so that we can update http://platform.xwiki.org/xwiki/bin/view/AdminGuide/InstallationMySQL (you could update it too btw, it's a wiki ;)). Thanks -Vincent On Fri, Mar 5, 2010 at

Re: [xwiki-users] Questions about XWiki: translations for macros

2010-03-05 Thread Valdis Vītoliņš
- objects can not be translated (see XWIKI-69http://jira.xwiki.org/jira/browse/XWIKI-69). In my words a page can not be translated if it uses a template. Using conditions in macros is not a good workaround for end-users. Is there another way to implement this feature ? Do you have

Re: [xwiki-users] Installations-problems on Debian, MySQL Tomcat (Deployment as single war)

2010-03-05 Thread 2smart4u
Hi Vincent, On Fri, Mar 5, 2010 at 5:07 PM, Vincent Massol vinc...@massol.net wrote: (you could update it too btw, it's a wiki ;)). Done that, also corrected another small bug (127.0.0.1 / localhost). Cheers! Gregor -- just because you're paranoid, don't mean they're not after you...

Re: [xwiki-users] Installations-problems on Debian, MySQL Tomcat (Deployment as single war)

2010-03-05 Thread Vincent Massol
On Mar 5, 2010, at 5:51 PM, 2smart4u wrote: Hi Vincent, On Fri, Mar 5, 2010 at 5:07 PM, Vincent Massol vinc...@massol.net wrote: (you could update it too btw, it's a wiki ;)). Done that, also corrected another small bug (127.0.0.1 / localhost). Cheers! Thanks! -Vincent

Re: [xwiki-users] Lucene Searching with object: keyword does not show expected results

2010-03-05 Thread Jeremie BOUSQUET
Strangely it was up-to-date, because I checked with Lucene Index Toolbox (luke) directly on the index. And the LuceneSearch page was saying that index was up-to-date. But after forcing an index update (and waiting a few minutes), now the lucenesearch page returns correct results !? I must have

Re: [xwiki-users] Lucene Searching with object: keyword does not show expected results

2010-03-05 Thread Thomas Mortagne
On Fri, Mar 5, 2010 at 18:21, Jeremie BOUSQUET jeremie.bousq...@gmail.com wrote: Strangely it was up-to-date, because I checked with Lucene Index Toolbox (luke) directly on the index. And the LuceneSearch page was saying that index was up-to-date. But after forcing an index update (and

Re: [xwiki-users] Searching workaround for HTML in title-field

2010-03-05 Thread Sergiu Dumitriu
On 03/05/2010 04:30 PM, Joel Forsberg wrote: On Friday 05 March 2010 15:06:34 Sergiu Dumitriu wrote: snipped {pre}{/pre} prevents re-rendering the content. The result with this is: A damn ruler Which again is a bit wrong, but this is a bug in the core, it always assumes that the

[xwiki-users] Problems logigging in

2010-03-05 Thread 2smart4u
Sorry, me again... I wanted to login with with the default credeitials (Admin/admin), however, XWiki tells me Invalid credentials. I've just imported the default pages, configuration is vanilla out-of-the-box - any clues anyone? TIA Gregor -- just because you're paranoid, don't mean they're

Re: [xwiki-users] Problems logigging in

2010-03-05 Thread 2smart4u
hm, maybe this information might be helpful to identify the problem: I'm getting the following exceptions when trying to login: 2010-03-05 19:35:25,511 INFO [http://dekolxrd01/xwiki/bin/loginsubmit/XWiki/XWikiLogin]: active: 0 (max: 50) idle: 2(max: 5) 2010-03-05 19:35:25,560 INFO

Re: [xwiki-users] Questions about XWiki

2010-03-05 Thread Jeremie BOUSQUET
Hi, 2010/3/5 Simon Brandhof simon.brand...@sonarsource.com Hi, We're evaluating XWiki for a project of collaborative portal. Just to explain the needs in a few points : - users can create and update pages (sometimes it's good to remind basics ;-) - a page is structured in fields.

Re: [xwiki-users] Lucene Searching with object: keyword does not show expected results

2010-03-05 Thread Jeremie BOUSQUET
That's most probably what happened, because it was few days after a migration from 2.0.3 to 2.2.1 ... ;-) Thanks, Jeremie 2010/3/5 Thomas Mortagne thomas.morta...@xwiki.com On Fri, Mar 5, 2010 at 18:21, Jeremie BOUSQUET jeremie.bousq...@gmail.com wrote: Strangely it was up-to-date, because

[xwiki-users] row was deleted by another transaction

2010-03-05 Thread Paul Libbrecht
Hello XWiki experts, with our XWiki 1.5 I encounter the following complaint at trying to save the document of a user, even after a restart of the servlet container: org.hibernate.StaleObjectStateException: Row was updated or deleted by another transaction (or unsaved-value mapping was

Re: [xwiki-users] row was deleted by another transaction

2010-03-05 Thread Sergiu Dumitriu
On 03/05/2010 11:50 PM, Paul Libbrecht wrote: Hello XWiki experts, with our XWiki 1.5 I encounter the following complaint at trying to save the document of a user, even after a restart of the servlet container: org.hibernate.StaleObjectStateException: Row was updated or deleted by another

Re: [xwiki-users] Is there a way to dynamically change the values on a static list or on any other property of a xwiki class?

2010-03-05 Thread Abel Solórzano Astorga
Thanks again Caleb, I try your suggestion, but I keep getting a null value from * valdoc.getDocument().**getxWikiClass().get(Project)*. The fields Map ( *valdoc.getDocument().**getxWikiClass().fields.keySet(**)*) is empty. I put the following line on the code: *println

Re: [xwiki-users] Is there a way to dynamically change the values on a static list or on any other property of a xwiki class?

2010-03-05 Thread Caleb James DeLisle
It looks like you have isolated the problem because doing the same thing with a class that is known to exist $xwiki.getDocument('XWiki.XWikiPreferences').getDocument().getxWikiClass().toString() displays all of the properties in xml format. I also double checked by adding a property to

Re: [xwiki-users] Is there a way to dynamically change the values on a static list or on any other property of a xwiki class?

2010-03-05 Thread Sergiu Dumitriu
On 03/06/2010 01:06 AM, Abel Solórzano Astorga wrote: Thanks again Caleb, I try your suggestion, but I keep getting a null value from * valdoc.getDocument().**getxWikiClass().get(Project)*. The fields Map ( *valdoc.getDocument().**getxWikiClass().fields.keySet(**)*) is empty. I put the