• Post Reply Bookmark Topic Watch Topic
  • New Topic

directing page

 
baran tamer
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hello,
i am using myfaces with tomahawk,
Can i direct a page to another one without changing the url ?

PS: i know that it can be done by defining navigation rules in th faces-config file , but i need the code for it.

Thanks
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use ExternalContext#dispatch().
 
baran tamer
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks a lot
 
Amir Iqbal
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you may also use forward page directive for this purpose. eg


 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!