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't work. I have tried various variations with no
success.
I know onclick="ognl: user.Id" would print out the id but I need to append
it to a string.
Can it be done?
Thanks,
Deon
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]