nested indexed beans
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Vincent_Vialard
Posted On:   Saturday, December 22, 2001 08:03 AM

I've been playing around quite a while and found out that nested indexation don't work for setters. The values are displayed, but changes won't be populated. Maybe the setters are not generated correctly? I would love being able to write:               but ended up writing:            <%="member["+i+"].name"%>' indexed="true"/>    or giving up altogether the indexation to keep a uniform notation:    <%="group["+i+&q   More>>

I've been playing around quite a while and found out that nested indexation don't work for setters.
The values are displayed, but changes won't be populated. Maybe the setters are not generated correctly?

I would love being able to write:

			


  

  

    

  




but ended up writing:

			


  

  

     <%="member["+i+"].name"%>' indexed="true"/>

  




or giving up altogether the indexation to keep a uniform notation:

			


   <%="group["+i+"].number"%>' indexed="true"/>

   <%="group["+i+"].memberList"%>'>

     <%="group["+i+"].member["+j+"].name"%>' indexed="true"/>

  




It works but could be simpler, as it seems that the indexed getters are correctly generated...

Vincent.

   <<Less

Re: nested indexed beans

Posted By:   Ted_Husted  
Posted On:   Monday, December 31, 2001 04:12 AM

An extension to the taglibs has been written to
provide better nesting, and can be obtained

here.


HTH -Ted

About | Sitemap | Contact