|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=ANNOTATION_TYPE) @Retention(value=RUNTIME) public static @interface Jpf.MessageBundle
Annotation used within Jpf.Controller
to declare a message bundle for use in the page flow.
Required Element Summary | |
---|---|
String |
bundlePath
The path to the message bundle, as a ServletContext resource. |
Optional Element Summary | |
---|---|
String |
bundleName
The name associated with the bundle; if this is not specified, then the bundle becomes the "default bundle" for the page flow, and all validation messages implicitly reference it. |
Element Detail |
---|
public abstract String bundlePath
bundlePath="foo.bar.MyMessages"
or
bundlePath="foo/bar/MyMessages"
(in both cases, foo/bar/MyMessages.properties would be found
on classpath).
public abstract String bundleName
The name associated with the bundle; if this is not specified, then the bundle becomes the "default bundle" for the page flow, and all validation messages implicitly reference it.
Named message bundles are databound to with expressions like
${bundle.
bundle-name.someMessage}
, while the default message bundle is
databound to with expressions like ${bundle.default.someMessage}
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |