Look at the ajax validation example in showcase. musachy
On 7/30/07, Sandro Giessl <[EMAIL PROTECTED]> wrote: > Hi, > > I wonder if anyone here has successfully used Struts 2.1 ajax-validation > (http://struts.apache.org/2.x/docs/ajax-validation.html) with a s:form tag > that is 'xhtml'-themed. > > I tried it, but I only get a bunch of javascript popup messages like "do not > validate:registerForm_login". > I see that <sx:head /> includes two Java Scripts: > <script language="JavaScript" src="/test/struts/xhtml/validation.js" > type="text/javascript"></script> > <script language="JavaScript" src="/test/struts/css_xhtml/validation.js" > type="text/javascript"></script> > It seems to me that the error message is caused by css_xhtml/validation.js. > > <s:form> with theme="css_xhtml" works fine for me. > > Thanks for any advice. > Bye, Sandro > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]