If I want to simply pass the tag, <form name=....> through to a <tile:insert attribute='form'/> How could I do this? I need to dynamically assign this form based on user position in my website. I'm doing this: <tiles:insert page="/common/form.jsp" flush="true"> <tiles ut name="form"> <form name="....> </tiles ut> </tiles:insert> which gets sent to form.jsp: <%@ taglib uri="struts-bean" prefix="bean" %> <%@ taglib uri="struts-logic" prefix="logic" %> <%@ taglib uri="struts-tiles" prefix="tiles" %> <%-- Push component attributes in page context --%> <tiles:importAttribute /> <logic resent name="form"> <bean:write name="form"/> </logic resent> which then goes to: <tiles:insert attribute='form'> where form is defined to be form.jsp. The problem is that it's translating it into the string necessary to display it on the webpage: <form name=".... Any help is appreciated. [ March 30, 2004: Message edited by: Sam Cox ]
Found answer. Simply needed to use filter="false" on the bean:write tag. Btw, I'm trying to accomplish the submission of a form from different tiles. My solution is not very nice to say the least. If anyone knows of a good way or has a link to a good way, please let me know. I saw the posts here on this topic, but they didn't help me much. Thanks.