This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara on-line!
See this thread for details.
The moose likes Struts and the fly likes Indexed properties and DynaValidatorForm Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Indexed properties and DynaValidatorForm" Watch "Indexed properties and DynaValidatorForm" New topic
Author

Indexed properties and DynaValidatorForm

dave sag
Ranch Hand

Joined: Feb 17, 2003
Posts: 47
My JSP page complains that "No getter method for property lostSensitiveDataEntry[0].value" when very clearly in my form bean (whcih extends DynaValidatorForm) I have the method:

and in my struts-xml file i have specified that "lostSensitiveData" is a List and that list has been populated in my reset method fine.
this is almost the exact same code as in other forms I use, only this time, as there are lots of other properties too, I am using a DynaValidatorForm and not an ActionForm. I have even tried extending DynaValidatorActionForm instead but it made no difference.
What am I missing, or is this a bug in struts?
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Indexed properties and DynaValidatorForm