org.zkoss.bind.annotation
Annotation Type SelectorParam


@Target(value=PARAMETER)
@Retention(value=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 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.

Since:
6.0.0
Author:
dennis
See Also:
Init, Command, Selectors.find(org.zkoss.zk.ui.Component, String)

Required Element Summary
 java.lang.String value
          component selector of the parameter
 

Element Detail

value

public abstract java.lang.String value
component selector of the parameter

Returns:
component selector of the parameter


Copyright © 2005-2011 Potix Corporation. All Rights Reserved. SourceForge.net Logo