On Fri, Mar 07,'03 (11:00 PM GMT-0500), Rick wrote: > > But what if I wanted to set up a global.required and wanted to pass in > "Name." I of course understand I could do: > > if ( getName() == null || getName().length() < 1 ) { > errors.add("name",new ActionError("error.name.required", "Name")); > }
Of course this global message key would be something like "global.error.required" (I forgot to fix that in my cut and paste for this post). Still the same question... How do I get access to MessageResources in an ActionForm. Thanks, -- Rick --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]