File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes indexedListProperty Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Other Application Frameworks
Reply Bookmark "indexedListProperty" Watch "indexedListProperty" New topic
Author

indexedListProperty

Raj Chennai
Greenhorn

Joined: Dec 28, 2005
Posts: 2
Hi

Iam trying to right a validation rule for my bean, but having some trouble.

My Objects are chained as follows

globalSecurityObject has a listOfSecurityMarketIssueObject(SecurityMarketIssueObject) which inturn has a listOfsecurityIdentifierObject(securityIdentifierObject).

Validation Rule that I have written as follows

<field property="securityID" indexedListProperty="globalSecurityObject.listOfSecurityMarketIssue.listOfsecurityIdentifier" depends="required">
<arg key="display.securityID"/>
</field>


Iam getting an Exception saying listOfsecurityIdentifier is not a property.
Any help is appreciated.

Thank you
Raj
[ January 06, 2006: Message edited by: Raj Chennai ]
 
jQuery in Action, 2nd edition
 
subject: indexedListProperty
 
Threads others viewed
DynaActionForm Bean Validation
Using attribute indexedListProperty in field tag in validation.xml
String[] field inside a field that is a bean array in a dynavalidator form
Validation of indexed properties
Struts: How to validate list
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com