You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by David Graham <dg...@hotmail.com> on 2003/02/28 04:13:09 UTC

Re: error in my html:select tag

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

David



>From: "Richard Raquepo" <rr...@primeorion.com>
>Reply-To: "Struts Users Mailing List" <st...@jakarta.apache.org>
>To: "Struts Users Mailing List" <st...@jakarta.apache.org>
>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: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org