|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=TYPE) @Retention(value=RUNTIME) public @interface View
Maps a component to URL making it a view component.
This annotation must be used in conjunction with @PageScoped annotation
When component is marked as a view, the page initialization process can be
followed an intercepted by implementing an interface ViewComponent.
Implementing the interface is optional.
@PageScoped,
ViewComponent| Optional Element Summary | |
|---|---|
Class<? extends Component> |
parent
Defines the parent view for this view. |
String[] |
property
Maps view to given set of URLs that are mapped to property keys. |
String[] |
url
Maps view to given set of URLs. |
public abstract String[] url
public abstract String[] property
The values of the properties are handled as regular expressions.
public abstract Class<? extends Component> parent
A view may have a parent which is initialized before this view. The parent may choose not to initilialize this view, if it is not seen necessary.
ViewComponent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||