RE: Struts2: Custom Validation, message from property file

2008-10-21 Thread sean . chen
Hi all: We are planning to develop a new project on Websphere 5.x (Servlet 2.3/JSP 1.2/ JDK 1.4) and wonder if struts2 could work with these components? Thanks in advance sean - To unsubscribe, e-mail: [EMAIL PROTECTED] For a

Re: Struts2: Custom Validation, message from property file

2008-10-21 Thread Paweł Wielgus
Hi Ibastil, i haven't tried that. But maybe searching in annotation validation will bring some solution for You. Best greetings, Paweł Wielgus. 2008/10/21 lbastil <[EMAIL PROTECTED]>: > > Thank you very much! > > and did you know a possibility to use the existing validators manually? > > For ins

Re: Struts2: Custom Validation, message from property file

2008-10-21 Thread lbastil
Thank you very much! and did you know a possibility to use the existing validators manually? For instance when I manually have to do an email validation, it would be cool to be able to use the functionality of the allready existent emailfieldvalidator. Paweł Wielgus wrote: > > Hi Ibastil, >

Re: Struts2: Custom Validation, message from property file

2008-10-20 Thread Paweł Wielgus
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("", " > instead of a plain string for the error me

Struts2: Custom Validation, message from property file

2008-10-20 Thread lbastil
I have to use Custom Validation and set field errors like: addFieldError("", "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.