Package org.zkoss.bind.annotation
Annotation Interface SelectorParam
Marker annotation to identify the component of a parameter of a method
The value() is the selector to find components. It uses
The base component of the selector is the view component of the binder.
If the parameter type is a
The value() is the selector to find components. It uses
Selectors.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 a
Collection, it passes the result directly. Otherwise it passes the first result or null if no result.-
Optional Element Summary
Optional Elements
-
Element Details
-
value
String valuecomponent selector of the parameter. Since 9.5.0, it can be omitted if selector is the same as the name of annotated parameter.- Returns:
- component selector of the parameter
- Default:
- ""
-