I think you could use PhaseListener and some bean to store state info you need.
On 08/09/2007, venu59 <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have two pages - page1.jsp and page2.jsp. I have configured the navigation
> rule in my faces-config in such a way that "success" outcome from
> doMyAction() action-method will take the user to the home page.
>
> My requirement is that I need to display a page dynamically in between these
> two pages without configuring the inserted-page in the navigation-case. Let
> me try to explain this more clearly using an example. This is my normal
> flow.
>
> class MyBackingBean {
> public String doMyAction() {
> return "success"
> }
> }
>
> <navigation-rule>
> <from-view-id>/page1.jsp</from-view-id>
> <navigation-case>
> <from-outcome>success</from-outcome>
> <to-view-id>/page2.jsp</to-view-id>
> </navigation-case>
> </navigation-rule>
>
> Now, without making any change in the navigation-rule or the "success"
> return from the doMyAction() method, I need to display a "disclaimer.jsp" in
> between page1 and page2. When the user clicks the "I agree" link in the
> disclaimer page, he will be taken to the page2. Also, the data (form-fields)
> submitted from page1 should be available in page2.
>
> Please give your advises...
>
> Regards,
> Venu
> --
> View this message in context:
> http://www.nabble.com/Display-a-page-in-between-the-normal-navigation-tf4406137.html#a12570125
> Sent from the MyFaces - Users mailing list archive at Nabble.com.
>
>
--
Michał Stawicki
[EMAIL PROTECTED]
http://stawicki.jasliska.pl