Re: Struts2 validation problem

2010-04-04 Thread zud
...@struts.apache.org -- View this message in context: http://old.nabble.com/Struts2--validation-problem-tp28042625p28137164.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user

Re: Struts2 validation problem

2010-04-04 Thread zud
: user-h...@struts.apache.org -- View this message in context: http://old.nabble.com/Struts2--validation-problem-tp28042625p28137165.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe

Re: Struts2 validation problem

2010-04-04 Thread zud
: user-h...@struts.apache.org -- View this message in context: http://old.nabble.com/Struts2--validation-problem-tp28042625p28137167.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe

Re: Struts2 validation problem

2010-04-04 Thread zud
...@struts.apache.org thanks for the reply i am not using springs i am using struts 2.x can you please help me out -- View this message in context: http://old.nabble.com/Struts2--validation-problem-tp28042625p28137191.html Sent from the Struts - User mailing list archive at Nabble.com

Re: Struts2 validation problem

2010-04-03 Thread Dave Newton
zud wrote: 1) Is old errors is not getting cleared that means when the filed value is empty when i submit the form it shows required that is ok and agian when i submit with empty values again now it shows messages like filed is required filed is required Are you using Spring as your object

Struts2 validation problem

2010-03-26 Thread zud
--validation-problem-tp28042625p28042625.html Sent from the Struts - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org

Struts2 Validation Problem - validation errors not being cleared when corrected!

2009-10-23 Thread Murray Furtado
Hi, I'm using Struts 2.0.14 and validation annotations. I have a UpdateUserAction class which implements ModelDriven and declares the execute() method with the following : @Validations( visitorFields = { @VisitorFieldValidator(message=, fieldName=model)} ) My model is a User class which has a

Re: Struts2 Validation Problem - validation errors not being cleared when corrected!

2009-10-23 Thread Murray Furtado
Hehe, I've just resolved my own issue! The problem was my spring configuration. I needed to specify scope=prototype on each of my Struts 2 Action declarations. Singleton actions were being created and thus previous field errors were being carried over between requests. I'm surprised this isn't a