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]