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 BindContextvoid postPhase(Phase phase, BindContext ctx)
phase - the phase idctx - the associated BindContextCopyright © 2020. All rights reserved.