在JSF组件中,即时=真VS即时=假 [英] Immediate=true VS immediate=false in JSF Component

查看:149
本文介绍了在JSF组件中,即时=真VS即时=假的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在阅读Core JavaServer Faces,并且正在从事事件处理.它说,如果某个组件的Instant = true(让我们说一个按钮),那么当我们单击该按钮时,将尽早完成流程验证以及调用JSF生命周期的应用程序界面.这是什么意思?任何机构都可以向我解释即时= true在每个阶段都会产生什么影响?我很困惑.

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.

谢谢.

推荐答案

下面的链接最清楚地演示了JSF生命周期阶段,如何调试它们,以及Instant = true如何对其产生影响.

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

这篇关于在JSF组件中,即时=真VS即时=假的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆