Hi group! I have a somewhat complex application with tiles. I have a layout page which looks like this:
<%@ taglib uri="/WEB-INF/struts-tiles.tld" prefix="tiles"%> <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html"%> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title><tiles:getAsString name="title"/></title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <link rel="stylesheet" href="css/efselect.css"> <link rel="SHORTCUT ICON" href="/efselect/img/favicon.ico" /> <tiles:insert attribute="head" flush="false"/> </head> <tiles:insert attribute="bodytag" flush="false"/> <tiles:insert attribute="header" flush="false"/> <tiles:insert attribute="user" flush="false"/> <tiles:insert attribute="menu" flush="false"/> <tiles:insert attribute="task" flush="false"/> <tiles:insert attribute="errors" flush="false"/> </body> </html> In the content tile the html:form is set, as this tile includes the information to submit. Now I want to surround the complete layout with menu-navigation with the form tag instead of using it only in the content tile. This is needed because I want the form to submit if the user hits the menu bar. If the action were static it would look like the following: <tiles:insert attribute="bodytag" flush="false"/> <html:form action="/somestatic"> <tiles:insert attribute="header" flush="false"/> <tiles:insert attribute="user" flush="false"/> <tiles:insert attribute="menu" flush="false"/> <tiles:insert attribute="task" flush="false"/> <tiles:insert attribute="errors" flush="false"/> </html:form> </body> </html> However, the action is not static so I need to make it dynamic. I've tried to include the form tag with another tile, but it doesn't compile the jsp page. I've tried to include the action as tiles:getAsString, but it doesn't compile either. I'm under the impression that this is a common problem (form including navigation), but I'm unaware of any solution. Thanks in advance Karsten Krieg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]