Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

Preventing validation when form is first displayed

Session Mwamufiya

2007-08-13

Replies:

Hi, I have an action that is validateable and uses the validate method to ensure that an element isn't added to the database if it already exists in there. Unfortunately, the validation occurs as soon as my form is launched. I tried to follow the approach from the helloworld example to not have this happen, but it doesn't work. I would rather avoid using annotations for maintainability reasons. Would someone give me directions to how to stop validation from occurring when the form is launched.

Thanks,


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.