Hmm...  I had to name my class exactly the same name:
...public class SignupAction extends
org.appfuse.webapp.action.SignupAction...
and then override default appfuse SignupAction-validation.xml by placing
it's copy in to my application at
src/main/resources/org/appfuse/webapp/action.

Now it's ok.


mraible wrote:
> 
> I don't know what to say. If you can provide the steps to reproduce
> the problem on my end in 5 minutes or less, I can try to take a look
> at it later this evening or tomorrow. Sorry - got the kids today - my
> hands are full. ;-)
> 
> Matt
> 
> On 9/1/07, ros <[EMAIL PROTECTED]> wrote:
>>
>> There is no prepare() method neither in base SignupAction class nor in
>> MySignupActionClass action class. %-|
>>
>>
>> mraible wrote:
>> >
>> > 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]
>> >
>> >
>> >
>>
>> --
>> View this message in context:
>> http://www.nabble.com/validation-message-always-whown-tf4364378s2369.html#a12443253
>>
>> 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#a12444553
Sent from the AppFuse - User mailing list archive at Nabble.com.

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

Reply via email to