tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Pratt" <thechrispr...@gmail.com>
Subject Re: MyFaces and Tiles
Date Thu, 20 Sep 2007 17:53:10 GMT
One step forward, two steps back.  Now that it appears to be rendering
everything correctly, it doesn't appear to want to navigate between
the pages.  For those playing the home version, the code is available
at http://www.planetpratt.com/xfer/crash5.war

I have a very simple tiles.xml with two definitions:

  <definition name="index" template="/layout/layout.jsp">
    <put-attribute name="title" value="Crash Test Dummy" type="string"/>
    <put-attribute name="body" value="/body/body.jsp" type="template"/>

  <definition name="home" template="/layout/layout.jsp">
    <put-attribute name="title" value="Welcome Home" type="string"/>
    <put-attribute name="body" value="/body/home.jsp" type="template"/>

And a single navigation-rule in faces-config.xml


But when the commandButton submits action="success" it just goes back
to the original page.  I can't figure out how to get it to actually
follow the navigation rules?  Any ideas?  Thanks.


View raw message