Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Navigation Problem

 
Arvind Purohit
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 42
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
use the below code to fix your problem.




 
Arvind Purohit
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 18094
48
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Arvind Purohit wrote:

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


No it doesn't.
 
Arvind Purohit
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I find a solution. The <redirect/> tag dont work fine with a4j:commandButton in jsf 1.2... using h:commandButton it works fine
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic