public interface PhaseListener
org.zkoss.bind.PhaseListener.class
for example:
<library-property>
<name>org.zkoss.bind.PhaseListener.class</name>
<value>foo.BarListener</value>
</library-property>
Note: the listener instance is shared between all binders, it is not thread-safe, your implementation has to care the concurrent access issue.Modifier and Type | Method and Description |
---|---|
void |
postPhase(Phase phase,
BindContext ctx)
Callbacks after each phase.
|
void |
prePhase(Phase phase,
BindContext ctx)
Callbacks before each phase.
|
void prePhase(Phase phase, BindContext ctx)
phase
- the phase idctx
- the associated BindContext
void postPhase(Phase phase, BindContext ctx)
phase
- the phase idctx
- the associated BindContext
Copyright © 2005-2018 Potix Corporation. All Rights Reserved.