I found my mistake...

in the tag "html:form" I specified the wrong Form.

Sorry,
Sebastian Steinfeld


-----Ursprüngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 11. November 2004 11:51
An: 'Struts Users Mailing List'
Betreff: AW: How to iterate neseted beans?


Hi Niall,

I tryed, but it doesn't working... 
When I call the page, the getter of the attributes are called and the values
are shown in the input-fields. But when I am pushing the submit button there
is no setter called.

Thanks,
Sebastian Steinfeld


-----Ursprüngliche Nachricht-----
Von: Niall Pemberton [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 11. November 2004 11:28
An: Struts Users Mailing List
Betreff: Re: How to iterate neseted beans?


try...

<nested:iterate property="resultList" name="kombinationForm">
  <nested:iterate property="resultList">
    <nested:text property="oneAtribute"/>
  </nested:iterate>
</nested:iterate>

Niall

----- Original Message ----- 
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, November 11, 2004 9:57 AM
Subject: How to iterate neseted beans?


> Hi,
> 
> I want to iterate through a nested bean, it is 3D.
> 
> The first bean contains an ArrayList, of the second bean. 
> Each second bean contains an ArrayList of the third bean.
> Each Third bean contains different attributes.
> 
> I want to print Attributes of the third bean in text-field and the user
> should edit them 
> and committ changes by pushing the submit-button.
> 
> I can call the getter of the attributes in the third bean, but how can I
> make the
> application call the setter?
> 
> 
> This is my code... what should I do?
> 
> <nested:iterate id="line" property="resultList" name="kombinationForm">
> <nested:iterate id="elementLine" name="line" property="resultList">
> <nested:text name="elementLine" property="oneAtribute"/>
> </nested:iterate>
> </nested:iterate>
> 
> 
> 
> Can anyone help me?
>  
> 
> mfg Sebastian Steinfeld
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


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



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




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

Reply via email to