Man, this is annoying since I know this has to be simple. I'm looking at both the Core JSF book and the MyFaces tiles example application. Question...

"How is the definition name in your tiles defiition related to your 'to-view-id'?"

I don't see this documented anywhere. For example in the MyFaces tiles example a to-view-id looks like:

<to-view-id>/page2.jsp</to-view-id>

And for a tile definition I see:

<definition name="/page2.tiles" extends="layout.example" >

What are the rules in how this tile definition is picked up? I see other examples (ie Geary's book) he doesn't use *.tiles in his definition,  so I'm missing the logic in how this definition gets picked up? In Struts it's easy since that definition name must match the String in mapping.findForward that I call from my Actions.

Thanks.

--
Rick

Reply via email to