I have it working, although with a somewhat different setup (all my page definitions are in my "tiles.xml" and this forces me to have a "dummy" "logon.jsp" containing "<tiles:insert definition=".logon/>" - and I don't like having to create the extra jsp's to link to the definitions - but havn't figured out a better way to do this).
I also use Tomcat. Here are two differences between our setups: - I use flush="false" - All my inserts look like this: <f:subview ...><tiles:insert ...></f:subview> ---- Dick -----Original Message----- From: Greg Allen [mailto:[EMAIL PROTECTED] Sent: Monday, May 29, 2006 8:43 PM To: user@struts.apache.org Subject: [shale] Shale and standalone tiles integration problems... I am new to JSP and am trying to use shale and standalone tiles. I have what is probably a simple problem, but I haven't been able to find the answer anywhere. My login page is looks like this: <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> <%@ taglib uri="http://jakarta.apache.org/tiles" prefix="tiles" %> <tiles:insert page="/templates/Layout.jsp" flush="true"> <tiles:put name="Title" value="Login" /> <tiles:put name="Header" value="/templates/Header.jsp" /> <tiles:put name="Footer" value="/templates/Footer.jsp" /> <tiles:put name="Lhs" value="/templates/Lhs.jsp" /> <tiles:put name="Rhs" value="/templates/Rhs.jsp" /> <tiles:put name="Body" value="/LoginBody.jsp" /> </tiles:insert> And the Layout.jsp page like this: <[EMAIL PROTECTED] contentType="text/html;charset=UTF-8"%> <f:view> <html> <head> <title><tiles:getAsString name="Title"/></title> </head> <body> <table class="bodytable"> <tr> <td colspan="3"><tiles:insert attribute="Header"></td> </tr> <tr> <td styleClass="lhs"><tiles:insert attribute="Lhs"></td> <td><tiles:insert attribute="Body"></td> <td StyleClass="rhs"><tiles:insert attribute="Rhs"></td> </tr> <tr> <td colspan="3"><tiles:insert attribute="Footer"></td> </tr> </table> </body> </html> </f:view> My resulting page comes up blank. When I view the source, I see the Layout.jsp source, including the shale tags like f:view and the tiles tags. For some reason, these aren't getting "resolved" or translated to the resulting HTML. I suspect I am missing something simple here. Can anyone tell me what? Thanks in advance! -- Greg --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]