You cannot use a tag as a value of an attribute in a tag -- you need to use a Runtime Expression (or expression language if you are using JSTL) as in the following:
<html:hidden property="sectionName" value="<%=ac.getSection().getName()%>"/> -----Original Message----- From: Vijay Balakrishnan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 07, 2003 8:15 PM To: 'Struts Users Mailing List' Subject: value="<bean:write../>" question Hi, This code works: <tiles:put name="topleft"><bean:write name="ac" property="section.name"/>.</tiles:put> But this code doesn't work: <html:hidden property="sectionName" value="<bean:write name="ac" property="section.name"/>" /> Can someone explain what I need to do ? Thanks, Vijay -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>