File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Spring in Action this week in the Spring forum!
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: 16140
    
  21

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Navigation Problem