Wire Variables"
From Documentation
m |
|||
Line 2: | Line 2: | ||
=Wiring Sequence= | =Wiring Sequence= | ||
+ | |||
+ | <javadoc>org.zkoss.zk.ui.util.GenericForwardComposer</javadoc> will wire members defined in the composer. Here is the sequence: | ||
+ | |||
+ | #It searches any setter if its name matches any of the following | ||
+ | ##Any fellow with the same name (<javadoc method="getFellow(java.lang.String)">org.zkoss.zk.ui.Component</javadoc> | ||
+ | ##Any variable defined in <javadoc method="addVariableResolver(org.zkoss.xel.VariableResolver)">org.zkoss.zk.ui.Page</javadoc> with the same name | ||
+ | ##Any variable defined in zscript with the same name | ||
+ | ##[[ZUML Reference/EL Expressions/Implicit Objects|Any implicit object]] with the same name | ||
+ | #Then, it searches any field to see if it matches any fellow, any variable,... the same as the above. | ||
+ | |||
=zscript and Variable Resolver= | =zscript and Variable Resolver= | ||
=ID Space= | =ID Space= |
Revision as of 07:05, 12 November 2010
Wiring Sequence
GenericForwardComposer will wire members defined in the composer. Here is the sequence:
- It searches any setter if its name matches any of the following
- Any fellow with the same name (Component.getFellow(String)
- Any variable defined in Page.addVariableResolver(VariableResolver) with the same name
- Any variable defined in zscript with the same name
- Any implicit object with the same name
- Then, it searches any field to see if it matches any fellow, any variable,... the same as the above.
zscript and Variable Resolver
ID Space
Version History
Last Update : 2010/11/12
Version | Date | Content |
---|---|---|