permaculture playing cards*
The moose likes JSF and the fly likes Navigation Problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSF
Bookmark "Navigation Problem" Watch "Navigation Problem" New topic
Author

Navigation Problem

Arvind Purohit
Ranch Hand

Joined: Jun 18, 2010
Posts: 43
HI all

I have created a jsf application.
I am facing problem when i navigate to some another pages it "does not shows the current page URL in address bar" but navigating successfull
I have written navigation rules like

Then i changed it like



but it still shows the old url not "role/CreateRole.faces" ???
Please help
Thanks
Mahendra Pratap
Ranch Hand

Joined: Feb 25, 2008
Posts: 42

use the below code to fix your problem.





Mahendra
http://randomtechieblog.blogspot.com
Arvind Purohit
Ranch Hand

Joined: Jun 18, 2010
Posts: 43
Mahendra Pratap wrote:use the below code to fix your problem.






Thanks. I have used <redirect/> but it it clearing my session data
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 15958
    
  19

Arvind Purohit wrote:

Thanks. I have used <redirect/> but it it clearing my session data


No it doesn't.


Customer surveys are for companies who didn't pay proper attention to begin with.
Arvind Purohit
Ranch Hand

Joined: Jun 18, 2010
Posts: 43
Tim Holloway wrote:
Arvind Purohit wrote:

Thanks. I have used <redirect/> but it it clearing my session data


No it doesn't.

Jean Baldessar
Greenhorn

Joined: Feb 13, 2009
Posts: 5
No it doesn't.


Yes it does. And its happening with me two since I'm trying to use JBoss 5 (in 4.3.2 it works fine)
Jean Baldessar
Greenhorn

Joined: Feb 13, 2009
Posts: 5
I find a solution. The <redirect/> tag dont work fine with a4j:commandButton in jsf 1.2... using h:commandButton it works fine
 
wood burning stoves
 
subject: Navigation Problem
 
Similar Threads
JSF action doesn't call bean method
jsf newbie, navigation not working
navigation problem in jsf
Redirect and navigation problem
jsf problem go from jsp page to another jsp in new window