You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by "Curley, John" <Jo...@NielsenMedia.com> on 2003/05/09 22:40:36 UTC
embedding values in html tags
Hi,
Say I want to pass a value from my application resources file in to a
javascript method
Here's my html:text tag
<html:text property='email' onclick="someJavascriptMethod(someParam)">
Now, I want to pass it this value
<bean:message key='button.search'/>
I know I can't do this
<html:text property='email' onclick="someJavascriptMethod(<bean:message
key='button.search'/>)">
Is there some other way I could do this?
Thanks,
John Curley
---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org