Immediate=true VS immediate=false in JSF Component

梦想的初衷 提交于 2019-12-23 07:52:30

问题


I was reading Core JavaServer Faces and I was working on Event Handling. It says that if immediate=true for a component(lets say for a button), when we click that button, the process validation, and invoke application faces of the JSF life cycle will be done early. What does it mean? Can any body explain to me what the immediate=true will affect in each phases? I am confused.

Thank you.


回答1:


The following link most clearly demonstrates the JSF Lifecycle Phases, How to Debug them, and how immediate=true affects this.

http://balusc.blogspot.com/2006/09/debug-jsf-lifecycle.html#AddImmediateTrueToUIInputOnly



来源:https://stackoverflow.com/questions/6196208/immediate-true-vs-immediate-false-in-jsf-component

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!