JSF: Using same jsp page for different outcomes
Posted
by ComputerPilot
on Stack Overflow
See other posts from Stack Overflow
or by ComputerPilot
Published on 2010-04-20T15:40:41Z
Indexed on
2010/04/20
15:43 UTC
Read the original article
Hit count: 165
Would it be possible to use a navigation-case as shown below with the same view-id but different from-outcomes? In the managed bean, I wanted to compare the from-outcome values and decide on the group panel that I would display on the page. How can I get the from-outcome value in my managed bean?
<navigation-case>
<from-outcome>modifyphone</from-outcome>
<to-view-id>/modifytelephone.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>confirmmodifyphone</from-outcome>
<to-view-id>/modifytelephone.jsp</to-view-id>
</navigation-case>
<navigation-case>
<from-outcome>submitmodifyphone</from-outcome>
<to-view-id>/modifytelephone.jsp</to-view-id>
</navigation-case>
© Stack Overflow or respective owner