Could the cause be that you're not overriding the prepare() method?

On 9/1/07, ros <[EMAIL PROTECTED]> wrote:
>
> Yes, if validation fails once, it continues to fail. On demo.appfuse.org it's
> ok. It happens when I'm trying to override default appfuse SignUp action
> with my own in my AppFuse based application.
> There is a string field and user pojo fields on form. There is a string and
> User pojo get/set methods in action. For string field validation works ok,
> but for User pojo fields it continues to fail. Validation error messages
> adding on each save action - if I press save 2 times, there 2 failure
> messages about the same field.
> What could be the cause of this strange effect?
>
> Thanks.
> ros
>
>
> mraible wrote:
> >
> > Are you saying that if validation fails once, it continues to fail? If
> > so, can you reproduce it on the demo site?
> >
> > demo.appfuse.org
> >
> > Thanks,
> >
> > Matt
> >
> > On 9/1/07, ros <[EMAIL PROTECTED]> wrote:
> >>
> >> Hi!
> >>
> >> I'm trying to override signup action save method. New Action class
> >> MySignupAction extends SignupAction. In struts xml signup and saveSignup
> >> mapped to MySignupAction Now /signup.html page opens, and saveSignup can
> >> pass if all fields are valid. But if a validation error made (e.g. User
> >> Name
> >> is empty and then User Name is required error message shown) then even
> >> after
> >> user name is entered message stays visible. Why validation message always
> >> stays while form is valid?
> >>
> >> Does appfuse signup action validation process differs from all other
> >> actions
> >> validation?
> >>
> >> How to reset validation errors?
> >>
> >> Thanks,
> >> ros
> >> --
> >> View this message in context:
> >> http://www.nabble.com/validation-message-always-whown-tf4364378s2369.html#a12439826
> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
> >>
> >> ---------------------------------------------------------------------
> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
> >> For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> > --
> > http://raibledesigns.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
> >
>
> --
> View this message in context: 
> http://www.nabble.com/validation-message-always-whown-tf4364378s2369.html#a12442988
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to