Hi,
I have a a html:javascript on the jsp pages. It is throwing a null exception, and I can't work out why. It was working quite happily a few months ago. But we have just revisited it and it doesn't want to work any more.


Its happening on all our pages that have client-side validation. Any ideas will be greatly appreciated.

The jsp page contains (when remove this line the page works fine, including server-side validation):
<html:javascript formName="EFTSReportForm" />


the validation-administrationModule.xml contains:
<form name = "EFTSReportForm">
<field property="ReportYear" depends="required, integer, intRange">
<arg0 key="field.adminSite.workspace.reports.reportYear" resource="true"/>
<arg1 name="intRange" key="${var:min}" resource="false"/>
<arg2 name="intRange" key="${var:max}" resource="false"/>
<var><var-name>min</var-name><var-value>0</var-value></var>
<var><var-name>max</var-name><var-value>4000</var-value></var>
</field>
</form>


the struts config file contains:
<action path="/eftsReport"
type="com.colts.ui.adminSite.workspace.reportModule.reports.EFTSReportProcess"


validate="false"
name="EFTSReportForm"> <forward name="form_step1" path="/reports/EFTS.view"/>
<forward name="RUN_REPORT" path="/reports/eftsReportAction.do"/>
</action>


<plug-in className="org.apache.struts.validator.ValidatorPlugIn">
<set-property property="pathnames" value="/WEB-INF/validator-rules.xml,/WEB-INF/config/validation-adminstrationModule.xml"/>
</plug-in>


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



Reply via email to