Indexed/nested properties in Struts 1.0.1
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Todd_Harney
Posted On:   Wednesday, January 16, 2002 10:44 AM

If I have an html:text field on my form with the property named table[5].minimumSales , wouldn't this result in:


  1. A getTable(5).getMinimumSales() for displaying the form.

  2. A getTable(5).setMinimumSales(data) for posting the form through an Action class.



I am not seeing this behavior in my web application and I am using the Struts 1.0.1 release. Any ideas? Any suggestions on how to debug this?


Thanks,
Todd Harney

Re: Indexed/nested properties in Struts 1.0.1

Posted By:   Ted_Husted  
Posted On:   Sunday, January 20, 2002 05:55 AM


1.0.1 is a maintenance release, and does not include new
functionality.



Struts 1.0/1.0.1 supports a dotted syntax for acessing
nested properties, but the indexed properties are only
available in the nightly build.



-Ted.

About | Sitemap | Contact