--- bugs_ <[EMAIL PROTECTED]> wrote:
> In JSP page:
> <%
> String onClick = ...
> %>
> <s:submit theme="simple" name="submit" value="submit" onclick="<%= onClick
> %>" />
> 
> If i try to display jsp page, I get messege: "attribute onclick does not
> accept any expressions"
> 
> I don't know how to display content of variable onClick into attribute
> onclick.

Are you specifically trying to generate dynamic JavaScript?

Dave

I am rewriting an existing application from Struts 1 to Struts 2. Scriptlet
generate code into variable "onClick" and i need get it's content into
attribute onclick of tag <s:submit>
-- 
View this message in context: 
http://www.nabble.com/variable-in-Struts-2-tag-tp15711298p15714434.html
Sent from the Struts - User mailing list archive at Nabble.com.


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

Reply via email to