"press button1 -> Page3 should appear, but page2 appears again"  : most
probably a validation error on page2 (put <h:messages/> to get all JSF
messages). If not a validation error, you forgot to add a navigation
rule from Page2 to Page3 for result "Page3".
This is not related in anyway to the presence or not of <redirect/>. If
you look at what you got in html source after pressing button1 on Page1,
you will see the <form> has a submit url pointing to page2, so it's
correctly Page2 that handle the query. The redirect has only effect on
how navigation page occurs (server side or client side).


En l'instant précis du 14/09/07 10:02, Evgeniy Karimov s'exprimait en
ces termes:
> Hi, I have some strange problem.
> Say, I have:
> Page1: CommandButton1, action="Page2", CommandButton2, action="Page3"
> Page2: CommandButton1, action="Page3"
> Page3.
>
> all navigation is performed without <redirect>.
>
> So the problem is:
> Load Page1, press button1 -> appears Page2, press button1 -> Page3 should 
> appear, but page2 appears again.
> But if I press button2 at Page1, then Page3 appears as expected.
> I hava  athought that it can be somehow connected with the fact, that after 
> pressing Page1's button1, URL is still Page1, so Page2's navigation rule 
> doesn't work...
>
> Is there any solution to this?
>
>                  Thanks in advance.
>   


-- 
http://www.noooxml.org/

Reply via email to