Richard Sayre wrote:
First I wrote a method called validate.  At this point I found out
that I was overriding the ActionSupport method.  When I tried to find
more information on this method I couldn't.  When I search for XWork
or Struts 2 validation I always get the XML or Annotated validation.
These validations are too simple for the needs of this particular
form.

Where can I find out more information on how to implement the validate() method?

What do you want to know? The ValidationAware interface API docs list the methods available, most of which are self-explanatory.

Will this method work with Ajax validation?

I still don't know--if you're already doing Ajax validation, and already have a validate() method, wouldn't you already have found out?

Will this require less work on my part if I do this?

Less work than what?

By creating the mechanism for populating the <s:fieldError/> did
> I rewrite somethign that Struts can do for me?

AFAIK the Ajax validation as shipped only deals with field-specific errors, not the entire collection of errors--but I've never tried that, so I'm not really sure. Somebody with more experience doing that may know.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to