|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
@Target(value=TYPE) @Retention(value=RUNTIME) @Inherited public static @interface Jpf.FormBean
An optional class-level annotation that can be used on form bean classes with validation rules. It allows the form bean class to define its own message bundle that will be used when a message is not found in the default message bundle for the page flow in which a validation error message is generated.
Optional Element Summary | |
---|---|
String |
messageBundle
The path to the message bundle, as a ServletContext resource. |
public abstract String messageBundle
bundlePath="foo.bar.MyMessages"
or
bundlePath="foo/bar/MyMessages"
(in both cases, foo/bar/MyMessages.properties would be found
on classpath).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |