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

Calling Controller method beforre page render  RSS feed

 
Sim Kim
Ranch Hand
Posts: 268
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

I have created menu in my web application using DHTML Tabber where each menu item is a link.
I am using Facelets with JSF 1.2 .
I want on click of each menu item a page should load in the body section of my template but before that I want a controllers method to be executed which would do some initializations. I cannot change the links in my menu to be <h:commandLink> since the menu is created using javascript (it cannot have <h:commandLink> in it) .

How do I achieve this ?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!