Hi Ibastil, try getText() method inside Your action. Your action needs to extend ActionSupport.
Best greetings, Paweł Wielgus. 2008/10/20 lbastil <[EMAIL PROTECTED]>: > > I have to use Custom Validation and set field errors like: > addFieldError("<field name>", "<error message"); > > instead of a plain string for the error message I would like the same > property file woth message definitions > as for my validator classes and actions. > > Is this possible? > What is the most elegant solution? > > Thank you in advance. > -- > View this message in context: > http://www.nabble.com/Struts2%3A-Custom-Validation%2C-message-from-property-file-tp20068036p20068036.html > Sent from the Struts - User mailing list archive at Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >