This is a discussion on use MessageResources in Form - Weblogic ; Hello, In a JPF, if a Action required FormBean, it will generate a static FormData= class, right? How can I load the current resource bundle in the Form class? For example, I want to pass a parameter to the ActionError ...
Hello,
In a JPF, if a Action required FormBean, it will generate a static FormData=
class, right?
How can I load the current resource bundle in the Form class?
For example, I want to pass a parameter to the ActionError message as follo=
wing:
.....
ActionErrors errors =3D new ActionErrors();
ActionError("error.require", "Name"); // this will return "Name required"
How about I pass a resource message (with the key label.name) rather than t=
he "Name"
Eric