|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Retention(value=RUNTIME) @Target(value={FIELD,TYPE}) @Documented public @interface UrlMapping
Annotation for mapping URLs to JSF Views.
Required Element Summary | |
---|---|
String |
pattern
Specify the pattern for which this URL will be matched. |
Optional Element Summary | |
---|---|
boolean |
onPostback
Optional boolean (default true), if set to false , path
parameters will not be injected on form postbacks. |
boolean |
outbound
Enable or disable outbound URL rewriting for this mapping (default: 'true' / enabled.) If enabled, any links matching the viewId specified will be rewritten (if possible) using parameters mapping to named path parameters specified in the pattern. |
Element Detail |
---|
public abstract String pattern
Specify the pattern for which this URL will be matched. This element is required.
Any EL expressions #{someBean.paramName} found within the pattern will be processed as value injections. The URL will be parsed and the value found at the location of the EL expression will be injected into the location specified in that EL expression. Note: EL expressions will not match over the ‘/’ character.
The pattern itself is compiled parsed as a regular expression, meaning that the actual URL matching can be as simple or as complex as desired.
public abstract boolean outbound
public abstract boolean onPostback
Optional boolean (default true), if set to false
, path
parameters will not be injected on form postbacks.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |