This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSF and the fly likes navigation issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "navigation issue" Watch "navigation issue" New topic
Author

navigation issue

Yogesh Agrawal
Greenhorn

Joined: Nov 10, 2006
Posts: 4
Hi,
I am facing an issue with the JSF navigation.

I have three jsp A.jsp, B.jsp and C.jsp

Here is the code for all of them

A.jsp
<h:commandButton value="View" action="view" />

B.jsp
<h:commandButton value="Debug" action="debugmore" />

C.jsp
<hutputText value="hello"/>

and here is faces-config

<navigation-rule>
<navigation-case>
<from-outcome>view</from-outcome>
<to-view-id>/B.jsp</to-view-id>
</navigation-case>
</navigation-rule>

<navigation-rule>
<navigation-case>
<from-outcome>debugmore</from-outcome>
<to-view-id>/C.jsp</to-view-id>
</navigation-case>
</navigation-rule>

So when I click on the button View on A.jsp it takes me to B.jsp
but when I click on the button Debug in B.jsp it doesn't take me to
C.jsp but it refreshes the B.jsp and show the B.jsp

Any help will be appreciated.

Thanks,
Yogesh
chloe wong
Greenhorn

Joined: Aug 02, 2006
Posts: 17
do you have other tags, example like text box in B.jsp...i mean other than the commandLink
Yogesh Agrawal
Greenhorn

Joined: Nov 10, 2006
Posts: 4
I have datatable and one of the column has selectonemenu and the rest of the column has text in B.jsp
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: navigation issue
 
Similar Threads
Navigation using h:commandLink
jsessionid in URL
Navigation Problem - URL not updated
My navigation problem
DataTable Connection porblem