File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes What does extends means Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Frameworks » Struts
Reply Bookmark "What does extends means" Watch "What does extends means" New topic
Author

What does extends means

John Smith
Ranch Hand

Joined: Aug 21, 2004
Posts: 48
Hi All:

Does anybody knows what the following code in validation.xml means?

<form name="test">
<field property="travelerRows" depends="extends">
<var><var-name>extends</var-name><var-value>travelerRows</var-value></var>
</field>
</form>

Yours,

Curious
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
"extends" is not one of the standard validation rules that ships with struts. It looks like someone working on this application before you has written a custom validation rule called "extends". If you look in the validation-rules.xml file, you should be able to see more information about it.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: What does extends means
 
Similar Threads
why no errors shown for password validation in struts 1.2.4
Having problem with struts validator for error message
Problems with Validator Framework
Validate multiple fields base on a requiredif
Validation of List property in a Form