Just an update, the error messages was not defined in the application resources file.
Anyway, having another issue, since the action is a LookupDispatchAction, it has a few methods, execute, view and update. Whenever a user comes in, automatically it will go to execute which in turn will call the view which will then get the default record. Upon coming in the page, if the record in the database is not complete, it will show errors, however this is ok since the record should be complete. But then, say if I'm updating a record on that page and I want to view another record without saving the record which is just edited, the data for another record will not show since the form is being validated which when the users fills up the form to its requirement and then moves to view another record will appear that the previous record has been saved which is not the case. I guess the best way to do it would be using plain Action classes, but it would be nice if this could be done using a LookupDispatchAction class. Thanks -----Original Message----- From: Mohd Amin Mohd Din [mailto:[EMAIL PROTECTED] Sent: Wednesday, September 17, 2003 9:03 PM To: [EMAIL PROTECTED] Subject: Validator not configured properly? Hi, What else do I need to check? The form is working perfectly at the moment but it is not being validated In struts-config.xml <snip> <form-bean name="Financial.Sponsor.ReceiveSponsorshipForm" type="org.apache.struts.validator.DynaValidatorForm"> </snip> <snip> <action path="/financial/sponsor/receiveSponsorshipSetup" type="com.enc.edu.icms.fin.sponsor.view.ReceiveSponsorshipSetupAction" name="Financial.Sponsor.ReceiveSponsorshipForm" input="/WEB-INF/jsp/icms/financial/sponsor/receiveSponsorship.jsp" parameter="action" validate="true"> </snip> <snip> <plug-in className="org.apache.struts.validator.ValidatorPlugIn" > <set-property property="pathnames" value="/WEB-INF/validator-rules.xml, /WEB-INF/validation.xml" /> </plug-in> </snip> In validation.xml <snip> <form name="Financial.Sponsor.ReceiveSponsorshipForm" > <field property="semesterId" depends="required"> <msg name="required" key="icms.error.field.null"/> <arg0 key="icms.financial.semester"/> </field> </snip> validator-rules.xml is present and contains the normal stuff Help Amin --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

