struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Prashant Samant" <>
Subject Problem while using validator framework
Date Thu, 17 Jul 2003 08:58:29 GMT
Hello everybody,
I am trying to run a small application which validates a field.
But when i run the appilcation, i am getting the following error
" Validator - -No ValidatorAction called validwhen found for field method"

The following is my struts.config file
	<form-bean name="orderForm" type="org.apache.struts.validator.DynaValidatorForm">
		<form-property name="order" type="java.lang.String"/>
		<form-property name="method" type="java.lang.String"/>
		<form-property name="cardtype" type="java.lang.String"/>

	<action path="/order"
	<forward name="success" path="/orderconfirm.jsp"/>          
	<forward name="failure" path="/nobuy.jsp"/>          
  <plug-in className="org.apache.struts.validator.ValidatorPlugIn">
    <set-property property="pathnames"
<message-resources parameter="ApplicationResources" null="false" />


The following is my validation.xml
	<form name="orderForm">
	     <field property="method"  depends="validwhen">
	       <arg0 key="Payment method" resource="false"/>
	       <var-value> (*this* != null)</var-value>


i am using weblogic 6.1.
pls advise .
Prashant S.

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

View raw message