×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Help! No ValidatorAction called required found

Help! No ValidatorAction called required found

Help! No ValidatorAction called required found

(OP)
Hello,

 i am using Dynavalidaton form.

In struts-congig.xml

<form-bean name="AddNewBean" type="org.apache.struts.validator.DynaValidatorForm">
   <form-property name="vehicleMake" type="java.lang.String"/>
</form-bean>

In validation.xml

<form name="AddNewBean">
<field property="vehicleMake" depends="required">
<arg0 key="AddNewVehicleBean.vehicleMake" name="required"/>
</field>
</form>


But i am getting error like
ERROR [Validator] No ValidatorAction called required found for field vehicleMake.

How can i overcome the problem, thanks in advance.

With regards,
balachandar.

RE: Help! No ValidatorAction called required found

The problem is the <arg0>.

<arg0 key="AddNewVehicleBean.vehicleMake" name="required"/>

do you have key "AddNewVehicleBean.vehicleMake" defined in your application resource file.  It should have the value of your display field name.

Also you don't need attribute "name=required", I think this is what causing the error.

RE: Help! No ValidatorAction called required found

(OP)
hello byam,

  i did, as you told. but still i am getting the same error.
All the dyanavaliator form is not working. But physical form
is working fine. Dynavalidator form was working fine also, suddenly it is not working. Is any problem in struts-config.xml or validation.xml. i think it should be.

thank u.


With regards,
balachandar

RE: Help! No ValidatorAction called required found

Could you show me the source of your struts.config and validation.xml

RE: Help! No ValidatorAction called required found

(OP)
Hello byam,

 The validation_rulex.xml files is not in the particluar
directroy. So that it created the problem. sorry.
Thank u.

With regards,
balachandar.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login


Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close