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.
It is probably a trivial question, but I can not find any solution.
-- 
View this message in context: 
http://www.nabble.com/variable-in-Struts-2-tag-tp15711298p15711298.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