Dick, Sorry, I didn't see this earlier. For those looking through the archives, the answer is to include 'flush="false"' in your <tiles:insert> tag.
Hubert On 4/12/06, Dick Starr <[EMAIL PROTECTED]> wrote: > Hubert, > > I see you got your answer, but I am curious about your <f:verbatim> > comment. Could you please tell me where it is required in > standalone-tiles. > > I am trying to get standalone-tiles working, but am getting a > JspException error (Can't insert page 'Test' : Illegal to flush within a > custom tag) on my "layout.jsp" when it reaches my "<tiles:insert > attribute="title"/>", which in turn references my tiles def containing > "<put name="title" value="Test"/>". Perhaps the <f:verbatim> is the > answer to my problem. > > Perhaps you could include your "/baseTemplate.jsp" in your response. > > Thanks for your help. > > Dick > > -----Original Message----- > From: Hubert Rabago [mailto:[EMAIL PROTECTED] > Sent: Tuesday, April 11, 2006 5:28 PM > To: Struts Users Mailing List > Subject: [shale] Tiles integration with RI > > I'm trying to use Shale-Tiles with RI and I'm having trouble submitting > forms. > The page renders okay (once I start using <f:verbatim> all over the > place), but the submit doesn't work. > I stepped through the code and it looks like there's a viewid mismatch. > > Here's my tile definition: > <definition name="base.layout" path="/baseTemplate.jsp" > > <put name="windowTitle" value="My Page Title"/> > <put name="pageHeader" value="/pageHeader.jsp" /> > <put name="body" value=""/> > </definition> > > <definition name="/testing" extends="base.layout"> > <put name="windowTitle" value="Testing Only"/> > <put name="body" value="/showSample.jsp"/> > </definition> > > I request /myapp/testing.jsf which renders ok. > I type in a value in a text field and submit the form. > In the RI's ViewHandlerImpl.restoreView(), it's looking for > viewid="/testing.jsp", but the viewid recorded in the sessionMap is > "/testing.jsf", so the submit request gets treated as a new one > instead of a postback. > What am I doing wrong? > > thanks, > Hubert > > --------------------------------------------------------------------- > 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] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]