public class PreValidateEvent extends ComponentSystemEvent
このイベントのインスタンスが SystemEventListener.processEvent(javax.faces.event.SystemEvent) または ComponentSystemEventListener.processEvent(javax.faces.event.ComponentSystemEvent) に渡されると、リスナーの実装は、このイベントインスタンスの source が検証される UIComponent インスタンスであると想定する場合があります。
子を持つコンポーネントは、UIComponent.processValidators(javax.faces.context.FacesContext) で子ノードを処理する前に、このイベントを公開する必要があります。これは、UIData などのコンポーネントを反復し、UIForm などのコンポーネントを形成する場合に特に重要です。
sourceSE| コンストラクターと説明 |
|---|
PreValidateEvent(FacesContext facesContext, UIComponent component)コンストラクター |
PreValidateEvent(UIComponent component)コンストラクター |
getComponent, isAppropriateListener, processListenergetFacesContextgetSourceSE, toStringSEcloneSE, equalsSE, finalizeSE, getClassSE, hashCodeSE, notifySE, notifyAllSE, waitSE, waitSE, waitSEpublic PreValidateEvent(UIComponent component)
コンストラクター
component - 検証されようとしている UIComponent。IllegalArgumentExceptionSE - 引数が null の場合。public PreValidateEvent(FacesContext facesContext, UIComponent component)
コンストラクター
facesContext - Faces コンテキスト。component - 検証されようとしている UIComponent。IllegalArgumentExceptionSE - 引数が null の場合。Copyright © 2019 Eclipse Foundation.
Use is subject to license terms.