struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GEDA <>
Subject ReferenceError: validateForm_createuser is not defined
Date Wed, 13 Jun 2007 06:34:17 GMT

Please help me. I don't really understand this debug message: ReferenceError:
validateForm_createuser is not defined. Here is the code:

   <s:form action="" validate="true">
       <s:textfield label="Name" name="name" />
       <s:password label="Password" name="password" />
       <s:submit theme="ajax" targets="listauseri" />

        <action name="createuser"
class="ro.romtelecom.test.action.UserAction" method="save">

and the validation xml is named: UserAction-createuser-validation.xml and is
as follows:
<!DOCTYPE validators PUBLIC "-//OpenSymphony Group//XWork Validator
1.0.2//EN" "">

    <field name="name">
        <field-validator type="requiredstring">
            <message>Trebuie sa introduceti un string!</message>

    <field name="password">
        <field-validator type="requiredstring">
            <message>Trebuie sa introduceti un string!</message>

What's wrong with this picture ?
View this message in context:
Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message