On Fri, Dec 10, 2010 at 8:19 AM, Greg Akins <angryg...@gmail.com> wrote:
> Thanks Li.. you're correct. And I'm still wondering why the form in > my Application won't display fieldError messages when I use only > Serverside validation. > > If, on the s:form, I use validation="true" the javascript is included > to do validation, and the errorMessages automagically appear > (theme="xhtml") > > However, if I don't use <s:form validation="true"> the validation > still works (page result is INPUT) but the error messages aren't > rendered. When I create a simple "Hello World" app, it does work; and > I can't figure out which bit of Struts I've broken in trying to get my > application's validation to work. > Did you already post the code/config? Try posting it again; I never saw it. <s:form>'s "validation" attribute has nothing to do with server-side validation, that's only an indication of client-side validation. So it's likely something else is wrong. Dave