Re: OGNL in javascript

2006-06-06 Thread Jesse Kuhnert
gt; Thanks! It worked. > > > > -Original Message- > From: Inge Solvoll [mailto:[EMAIL PROTECTED] > Sent: 06 June 2006 02:26 PM > To: Tapestry users > Subject: Re: OGNL in javascript > > You have to escape the ('userId'), like this probably: (\'use

Re: OGNL in javascript

2006-06-06 Thread Andreas Andreou
ibute. Deon Visagie wrote: Thanks! It worked. -Original Message- From: Inge Solvoll [mailto:[EMAIL PROTECTED] Sent: 06 June 2006 02:26 PM To: Tapestry users Subject: Re: OGNL in javascript You have to escape the ('userId'), like this probably: (\'userId\') On 6/6

RE: OGNL in javascript

2006-06-06 Thread Deon Visagie
Thanks! It worked. -Original Message- From: Inge Solvoll [mailto:[EMAIL PROTECTED] Sent: 06 June 2006 02:26 PM To: Tapestry users Subject: Re: OGNL in javascript You have to escape the ('userId'), like this probably: (\'userId\') On 6/6/06, Deon Visagie <[

Re: OGNL in javascript

2006-06-06 Thread Inge Solvoll
You have to escape the ('userId'), like this probably: (\'userId\') On 6/6/06, Deon Visagie <[EMAIL PROTECTED]> wrote: Hi All I want to put an ognl expression in my onclick event of a link e.g: onclick="ognl:'javascript: document.getElementById('userId').value=' + user.Id" but the above doesn

Re: OGNL in javascript

2006-06-06 Thread Christian Haselbach
Quoting Deon Visagie <[EMAIL PROTECTED]>: > I want to put an ognl expression in my onclick event of a link > e.g: onclick="ognl:'javascript: document.getElementById('userId').value=' + > user.Id" I'd say there is a syntax error with the single quotes, which occure in the getElementById call. If e