You can't use a custom tag as the value of another tag's attribute.

David



From: "Richard Raquepo" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: error in my html:select tag
Date: Fri, 28 Feb 2003 11:18:16 +0800

i have this code in my jsp
:53 <html:select property="provincecode" styleClass="normalblack"
onchange="province(userAccountForm,'<bean:write name="userAccountForm" property="citycode"/>')">


but i get this error:
[ServletException in:/manager/addtm-body.jsp] /manager/addtm-body.jsp:53: expected `>' at ``"'' (for tag `<html:select>' at line 53). The XML tag syntax is: <tag attr1='value1'>'


can't i combine a bean:write in a html:select tag?

thanks




_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail



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



Reply via email to