Re: [xwiki-users] velocity escape char [ ]

2008-04-14 Thread raffovi
Yes I tried but it doesn't work. The result is \0\ Thanks Raffo Guillaume Lerouge wrote: Have you tried with \[0\] ? On Fri, Apr 11, 2008 at 2:14 PM, Raffaele Viola [EMAIL PROTECTED] wrote: Hi all, I'm try to use javascript into a macro like this

Re: [xwiki-users] Issue when using foreign database

2008-04-14 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
Morning! rssh wrote: Something really change. let's test all steps. 1. plugin is installed. test page: $plugin = $xwiki.sql plugin is $plugin (page must print something like 'plugin is ua.gradsoft.xwikisql.SqlPluginApi$' ) 2. database is retrieved test page: $plugin =

Re: [xwiki-users] Issue when using foreign database

2008-04-14 Thread rssh
On Mon, 14 Apr 2008 11:33:19 +0200, [Ricardo Rodriguez] Your EPEC Network ICT Team wrote Morning! Yet one quick question: are you have programming rights ? (I trying reproduce situation and still can't understand it) rssh wrote: Something really change. let's test all steps. 1.

Re: [xwiki-users] Issue when using foreign database

2008-04-14 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
rssh wrote: Yet one quick question: are you have programming rights ? (I trying reproduce situation and still can't understand it) Quick answer: Yeap! Default Admin user BUT virtual wiki! Let me try in the main wiki... Cheers, Ricardo -- Ricardo Rodri'guez Your EPEC Network ICT Team

[xwiki-users] [ANN] XWiki Workspaces 1.0 RC 1 Released

2008-04-14 Thread Jerome Velociter
The XWiki development team is pleased to announce the release of XWiki Workspaces 1.0 RC 1. Go grab it at http://www.xwiki.org/xwiki/bin/view/Main/Download This is the first release candidate for the 1.0 version of XWiki Workspaces. A second release candidate is planned for next monday, before

Re: [xwiki-users] Issue when using foreign database

2008-04-14 Thread rssh
On Mon, 14 Apr 2008 16:36:59 +0200, [Ricardo Rodriguez] Your EPEC Network ICT Team wrote [Ricardo Rodriguez] Your EPEC Network ICT Team wrote: rssh wrote: Yet one quick question: are you have programming rights ? (I trying reproduce situation and still can't understand it)

Re: [xwiki-users] Issue when using foreign database

2008-04-14 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
rssh wrote: And what container you use ? This is jetty or apache ? Tomcat. I guess when you say Apache you mean Apache Tomcat, doesn't you? (btw, 1. if 'myDs' does not exists $plugin.getDatabase('myDs') must return valid SqlDatabase, which will throw exception on first SQL sentence)

Re: [xwiki-users] Issue when using foreign database

2008-04-14 Thread rssh
On Mon, 14 Apr 2008 23:56:09 +0200, [Ricardo Rodriguez] Your EPEC Network ICT Team wrote rssh wrote: And what container you use ? This is jetty or apache ? Tomcat. I guess when you say Apache you mean Apache Tomcat, doesn't you? yes. So, the diff to right solution is in attachment.

Re: [xwiki-users] Issue when using foreign database

2008-04-14 Thread [Ricardo Rodriguez] Your EPEC Network ICT Team
rssh wrote: (backup file: SqlDatabase.java.bak.java if we have SqlDatabase.java, than .bak.java can be deleted) My fault: I'd renamed the old SqlDatabase.java to *.java.bak but my clever MacBook had added .java to the file and I didn't realize. And I dind't read the error message :-(

[xwiki-users] Trouble with velocity script to list Object properties

2008-04-14 Thread Tjaart van Wijck
I have created the class Contacts.ContactClass. This class has three string properties firstname, surname and phone1. I have also created two instances of this class and filled out the attributes. Now, it should be straight forward to write a Velocity script to seach for all objects with the

Re: [xwiki-users] Trouble with velocity script to list Object properties

2008-04-14 Thread Guillaume Lerouge
Hi Tjaart, I have created the class Contacts.ContactClass. This class has three string properties firstname, surname and phone1. I have also created two instances of this class and filled out the attributes. Now, it should be straight forward to write a Velocity script to seach for all