jQuery in Action, 2nd edition*
The moose likes JSF and the fly likes JSF Life-cycle question Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSF
Bookmark "JSF Life-cycle question" Watch "JSF Life-cycle question" New topic

JSF Life-cycle question

Rob Micah
Ranch Hand

Joined: Aug 30, 2011
Posts: 94
I have an outputText that has its rendered attribute pointed to a method in a backing bean:I have a System.out.println() being called in this method so I can see when it is called. Now since it is a method shouldn't it be called once in the Invoke Application phase? In my log I see it being called 7 times on a postback.
Hebert Coelho
Ranch Hand

Joined: Jul 14, 2010
Posts: 754

Maybe this helps your: http://balusc.blogspot.com/2006/09/debug-jsf-lifecycle.html

[uaiHebert.com] [Full WebApplication JSF EJB JPA JAAS with source code to download] One Table Per SubClass [Web/JSF]
gyan kumar
Ranch Hand

Joined: Sep 28, 2011
Posts: 61
Read this may be helpful

I agree. Here's the link: http://aspose.com/file-tools
subject: JSF Life-cycle question
Similar Threads
Action method never gets called
Can someone help me out with this code
Ajax render outside of form problem
JSF + AJAX + RichFaces
Activex Object Sample Code Snippet