|
Hi, I'm not actually using Tiles or JSP :p (using facelets + xhtml's) but i'm sure I could implement something like what you were describing using Facelets. Thanks for the idea! -Robert. CONNER, BRENDAN (SBCSI) wrote: I would agree with Andrew, but, assuming you still wanted the behavior you're talking about, you can define a separate Tile for each outcome, and where each Tile shares the same JSP. That way, you still define just one JSP (although you still have multiple Tile definitions).Of course, setting up Tiles so there is a generic JSP to handle all Tiles would also be necessary. See http://forum.java.sun.com/thread.jspa?forumID=427&threadID=540153 for how to do that. Once you do that, your faces-config.xml would refer to the tiles for <from-view-id> and <to-view-id>. - Brendan -----Original Message----- From: Andrew robinson [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 03, 2005 10:41 AM To: MyFaces Discussion Subject: Re: Generic redirection screen Not to question your design, but why have an extra page and make the user wait for a post back. Instead of a redirection, just add "Your order was completed successfully" as a FacesMessage with no associated component, then on every page on your site, have a messages tag to show all non-component messages. That way, all pages that are loaded after your change will show the "all is well" message. The user can then immediately get back to work, and not have to wait for another post back and you also won't have to worry about browsers supporting the meta-refresh tag. Just a thought, Andrew On 11/2/05, Robert Parsons <[EMAIL PROTECTED]> wrote: |
- Re: Generic redirection screen Robert Parsons
- Re: Generic redirection screen Robert Parsons

