This week's book giveaway is in the HTML/CSS/JavaScript forum.
We're giving away four copies of Practical SVG and have Chris Coyier on-line!
See this thread for details.
Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Phase listener question

 
Lonnie Lewis
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am having a problem getting my page beans' "init", "preprocess" and "prerender" methods to fire. My page beans are inherited from "com.sun.jsfcl.app.AbstractPageBean" which do have these methods defined. From what I've found, it appears that my problem is a lack of a "phase-listener" in my faces-config.xml file. How should this be configured? If I put in:

<lifecycle>
<phase-listener>com.sun.jsfcl.app.AbstractPageBean</phase-listener>
</lifecycle>

I get an error that the phase listener can't be instantiated. How do I configure my application so that the "init", "preprocess" and "prerender" methods fire?

Thanks,
Lonnie
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!