I posted working example a while back. see
http://www.mail-archive.com/[email protected]/msg12084.html
HTH,
Dave
"John Kowalik" <[EMAIL PROTECTED]> on 11/30/2001 09:45:39 AM
Please respond to "Struts Users Mailing List"
<[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
<[EMAIL PROTECTED]>
cc: (bcc: David Hay/Lex/Lexmark)
Subject: HELP with accessing indexed, nested properties in Action
I have search the archive and seen this bounced around, but can't seem to
find a complete working example. I have:
FormBean where one property is an Array of SomeBean;
SomeBean has three properties, two int, one string;
FormBean inits properly with an Array of SomeBean (via another Action);
form.jsp iterates over array of SomeBeans, creates indexed text input boxes.
These display just fine.
When I submit the form, the Action can't get at (or I don't understand how
to access) the SomeBean Array. If I kick back to the form, the other form
fields keep any changed values, but the SomeBean Array goes null.
I've been banging my head on this forever, so I would really appreciate
any help! I've got the nightly build from 11/28/01 running
Thanks,
--John
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>