Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSF-Facelets Dynamic Navigation Problem  RSS feed

 
Peterson Machado
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all!!
I'm having trouble to make dynamic navigation work using jsf/facelets/richfaces.

Here's the code:
index.xhtml


defaultNavigation.xhtml


NavigationBean.java


When I first load the page, the content section shows /pages/content/defaultContent.xhtml. When I click on the panelMenuItem, the NavigationBean is updated (setting content = /pages/content/anotherContent.xhtml). The problem is that the content section is not reloaded.
If I do it "mannualy" (refreshing the browser), the correct content is loaded.

I tried using mode="ajax" and reRender on rich:menuItem, but no luck...

Anyone knows how to succesfuly implement this kind of navigation??
thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!