--- zafer Mohamed <[EMAIL PROTECTED]> wrote:
> I am struggling to populate a collection in the
> struts action's attribute. 

You neglect to say what the problem actually is, so
helping is... tricky.

> <s:textfield label="Name"
> name="person.roles(0).name" />

As prev. poster said use [0], but this will only work
if you've actually initialize the Person's list of
Roles. Have you? There shouldn't be an issue with what
you're doing, and you do not need indexed get/sets in
S2. (Yaaay, S2/WW!)

d.



 
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to