Nicolas LE BAS said:
> Here's a piece of advice : Tiles is basically a view technology ("view"
> as in MVC2). Thus you should not call FacesServlet (i.e. a *.jsf) from a
> tiles definition. You should always use its "*.jsp" counterpart there.
> When you call FacesServlet like in "foo.jsf", the request will be
> internally forwarded to "foo.jsp", and this is when you want Tiles to
> take control.

Thanks to Nicolas' advice I moved things around a bit and I think I've
gotten one step closer to this thing working.  I had to change the
<welcome-file> to be index.jsf (rather than .jsp) so that the Faces
Context would be created.  (NB: In resin at least I also had to
include a zero length index.jsf file so that it wouldn't just show the
directory listing).  Then I could change the layout in the tiles
definition from .jsf back to .jsp.  Now it seems to be correctly
generating the form action parameter back to the jsf page.  If anyone
is following along, the new file is available at
http://www.planetpratt.com/xfer/crash4.war
  (*Chris*)

Reply via email to