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

2008-04-14 Thread Vincent Massol
On Apr 14, 2008, at 11:22 AM, raffovi wrote: > > Yes I tried but it doesn't work. > > The result is \0\ If you're using version 1.3.1 then it's a known bug that's fixed in 1.3.2. Thanks -Vincent > Guillaume Lerouge wrote: >> >> Have you tried with \[0\] ? >> >> On Fri, Apr 11, 2008 at 2:14 P

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 >> document.getElement

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

2008-04-11 Thread Guillaume Lerouge
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 > document.getElementById('levelone').options[0] = new Option("-Empty > \*-",""); > but whe it is executed what I get is > document

[xwiki-users] velocity escape char [ ]

2008-04-11 Thread Raffaele Viola
Hi all, I'm try to use javascript into a macro like this document.getElementById('levelone').options[0] = new Option("-Empty \*-",""); but whe it is executed what I get is document.getElementById('levelone').options0 = new Option("-Empty \*-",""); How can I solve this problem??? Thanks all, Raffo