error in my html:select tag
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
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 [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]
RE: error in my html:select tag
No, use a defined bean. bean:define name=citycode bean:write name=userAccountForm property=citycode/ /bean:define html:select property=provincecode styleClass=normalblack onchange=%=province(userAccountForm,' + citycode + ')% -- James Mitchell Web Developer/Struts Evangelist http://www.microsoft.com/struts/ -Original Message- From: Richard Raquepo [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 10:18 PM To: Struts Users Mailing List Subject: error in my html:select tag 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]