org.wicketstuff.context
Annotation Type Context


@Retention(value=RUNTIME)
@Target(value=FIELD)
@Documented
public @interface Context

Mark the field to locate the required component, model or model object in the page component hierarchy. Examples of usage:

Author:
zruchala

Optional Element Summary
 String qualifier
          (Optional) Additional qualifier that has to be set for a component to be matched.
 boolean required
          Whether the dependency is required.
 Traversal traversal
          The traversal strategy used to resolve the dependency.
 

required

public abstract boolean required
Whether the dependency is required.

Default:
true

traversal

public abstract Traversal traversal
The traversal strategy used to resolve the dependency.

Default:
org.wicketstuff.context.Traversal.UP

qualifier

public abstract String qualifier
(Optional) Additional qualifier that has to be set for a component to be matched.

Default:
""


Copyright © 2014–2018. All rights reserved.