Hi,
I was trying to use the dynamic validator and before I began I
wanted to get some things cleared. Let me tell you the settings first .
- I have a jsp page which has a field name "name"
- I want to validate this field against "required" validator.
- I configured the struts config with the following entry :
<form-beans>
<form-bean
name="nameForm"
dynamic="true"
type="com.gm.northstar.util.NorthstarDynamicValidatorForm">
<form-property name="name"
type="java.lang.String"/>
</form-bean>
</form-beans>
The question I have is :
- Are these settings sufficient to get the validator to
work.
- Do I have to create a ActionForm class for this jsp? I
am assuming that it is taken care off by the
validator.
Cheers
--Sabarish
=====================================
E-Mail : [EMAIL PROTECTED]
Sabarish Rama Varma
Associate Consultant
III floor, A-wing,
Wipro Technologies, Madhapur.
Ph# 6565418
======================================
**************************Disclaimer************************************
Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.
*****************************************************************************
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>