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 escaping these does not work you can
try something like onclick="ognl:makeJavascript()" and implement
String makeJavascript() in the coressponding class to return the
desired string.

Regards,
Christian

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to