the code looks like this: Layout.jsp <html:form action="<%=request.getAttribute("fwdTo").toString() %>"> <tiles:insert name="header"/> <tiles:insert name="navig"/> <tiles:insert name="body"/> <tiles:insert name="footer"/> </html:html>
I need to mandatorily put all the elements in HTML in the form to submit. Is there any restriction in putting multiple tiles in html:form ? Please note that I am using filer in the web.xml
[ March 02, 2006: Message edited by: Bshar ] [ March 06, 2006: Message edited by: Bshar ]
Joined: Feb 28, 2005
Can somebody explain what is worng with putting tiles inside html:form tag?
Joined: Feb 08, 2006
Using tiles:insert insert within a html:form tag works, as I have done this in a number of instances. I noticed looking at my code that I have used the format <tiles:insert component="XXX" /> but looking at the documentation it says that page, component and template are all equivalent.
Does one of your tiles have a logic:forward tag? That looks like the problem based on your stack trace.