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
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
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 <[
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
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