Package org.zkoss.bind.annotation
Annotation Type SelectorParam
-
@Target(PARAMETER) @Retention(RUNTIME) public @interface SelectorParamMarker annotation to identify the component of a parameter of a method
The value() is the selector to find components. It usesSelectors.find(org.zkoss.zk.ui.Component, String)to select the components.
The base component of the selector is the view component of the binder.
If the parameter type is aCollection, it passes the result directly. Otherwise it passes the first result or null if no result.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.Stringvaluecomponent selector of the parameter.
-