Package org.zkoss.bind.annotation
Annotation Type SelectorParam
-
@Target(PARAMETER) @Retention(RUNTIME) public @interface SelectorParam
Marker 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.- Since:
- 6.0.0
- Author:
- dennis
- See Also:
Init
,Command
,Selectors.find(org.zkoss.zk.ui.Component, String)
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description java.lang.String
value
component selector of the parameter.
-