[struts] nested formbeans

T

Tobias Schierge

Hi,

i have a bean that consists of nested HashMaps which i want to edit using a
html-form.

I can fill the formfields correctly e.g.

<html:text property="aaa.bbb.ccc"/>

...displays a pre-filled value when i have

{aaa={bbb={ccc=value}}}

But the value that is entered by the user is never passed back into the
bean.

Or can a nested bean not be edited like this?

I know that i can do..

<html:text property="aaa(bbb)"/>

...but this works only for one-level-nested beans, e.g. a DynaActionform
containing a HashMap. I need to edit multi-level-nested beans.

I already had a look at struts-nested taglib but that does not seem to help,
as far as i understand its more for convenience and simplification.

Thanks for your Help. Regards,

Tobias
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top