Tuesday, May 8, 2012

Call Render Response phase from MBean or BBean



FacesContext.getCurrentInstance().renderResponse();

When this is required to be used?
When we have set immediate as true on a command component and want to skip the validation phase for a component.
http://docs.oracle.com/cd/E23943_01/web.1111/b31973/af_lifecycle.htm#CIAHCFJF
Above link also explains the use of autosubmit and immediate in few scenarios.

Partial Submit Vs Auto submit
https://blogs.oracle.com/jdevotnharvest/entry/partial_submit_vs_auto_submit

No comments:

Post a Comment