Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Indexed properties and DynaValidatorForm

 
dave sag
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic