File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Indexed properties and DynaValidatorForm" Watch "Indexed properties and DynaValidatorForm" New topic

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?
I agree. Here's the link:
subject: Indexed properties and DynaValidatorForm
It's not a secret anymore!