org.zkoss.zk.ui.select
Annotation Type Wire


@Retention(value=RUNTIME)
@Target(value={TYPE,FIELD,METHOD})
public @interface Wire

Annotation for specifying components or objects to wire in

Since:
6.0.0
Author:
simonpai

Optional Element Summary
 boolean optional
          If set to true, no Exception is throw when component/object is not found for wiring.
 boolean rewireOnActivate
          If true, the variable will be rewired when the composer is deserialized in cluster environment.
 java.lang.String value
          The selector string that specifies the Components to wire.
 

value

public abstract java.lang.String value
The selector string that specifies the Components to wire. If empty, GenericAnnotatedComposer will attempt to wire from implicit objects, XEL/ZScript variables and fellows.

Default:
""

optional

public abstract boolean optional
If set to true, no Exception is throw when component/object is not found for wiring. By default, when GenericAnnotatedComposer fails to wire an object to a field, an UiException will be thrown.

Default:
false

rewireOnActivate

public abstract boolean rewireOnActivate
If true, the variable will be rewired when the composer is deserialized in cluster environment. Session and Webapp variables are always rewired.

Default:
false


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