I still get the same error. :-|
Jeromy Evans - Blue Sky Minds wrote: > > GEDA wrote: >> Please help me. I don't really understand this debug message: >> ReferenceError: >> validateForm_createuser is not defined. Here is the code: >> >> <s:form action="createuser.do" validate="true"> >> <s:textfield label="Name" name="name" /> >> <s:password label="Password" name="password" /> >> <s:submit theme="ajax" targets="listauseri" /> >> </s:form> >> >> <action name="createuser" >> > Your action name is "createuser", not "createuser.do". The <s:form> tag > creates the url for the form, appending .do or .action as appropriate. > View the generated html to see it. As the URL is incorrect you'll > either get a 404 from the container or confuse the params or validation > interceptor. > > Try <s:form action="createuser" and it should find your validation file. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/ReferenceError%3A-validateForm_createuser-is-not-defined-tf3912818.html#a11095242 Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]