I defined a file ApplicationResources.properties under 
com.xxx.software.xxx.resources, which contains the following lines:
prompt.password = "The password you entered does not satisfy the basic
requirement"
prompt.userName = "You must enter a user name"

in my struts-config i have 
<message-resources
parameter="com.titan.software.hsm.resources.ApplicationResources"
null="false"/>

in my validation.xml I have
<form-validation>
        <formset>

                <form name="logonForm">
                        <field property="userName" depends="required">
                        <arg0   key="prompt.userName"/>
                        </field>
                
             <field property="password"
                    depends="required">
                <arg0   key="prompt.password"/>
         
            </field>  
                </form>

   </formset>   
</form-validation>

upon struts validation the javascript says 
"???en_US.errors.required???"
"???en_US.errors.required???"
which refers to the userName and password, does this mean the
validator are not getting prompt.userName and prompt.password ?
what am I doing wrong? i have been going the steps a couple of times
and can't find a loophole .  help me out here...
thanks

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to