Very intersting but (if is possible) i don't want to use a DynaActionForm .
I've tryied to modify my jsp code setting the property indexed="true" but the 
value in the bean remain unchanged. I think i'll need to add code on my 
ACtionForm but not idea about the code to add.


Marcello Savino
ALDEBRA S.p.A. 
tel.  0461302441

-----Messaggio originale-----
Da: Nuwan Chandrasoma [mailto:[EMAIL PROTECTED] 
Inviato: martedì 8 maggio 2007 19.56
A: Struts Users Mailing List
Oggetto: Re: ArrayOfBeans interaction

http://www.developer.com/java/ejb/article.php/2233591

see if this helps you.

Thanks,

Nuwan

----- Original Message -----
From: "Marcello Savino" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Tuesday, May 08, 2007 12:10 PM
Subject: ArrayOfBeans interaction


Ciao

Let's say this is my jsp code:

<html:xhtml />
<html:html locale="true">
<body>
<logic:iterate id="index" name="list" type="myBean">
<html:text name="index" property="firstField"  />
<html:text name="index" property="secondField"/>
</logic:iterate>
</body>
</html:html>

Where "list" is a Bean array. The Bean class is "myBean" and has two
properties (firstField, secondField). I need the changes made in the
rows to be stored in the ActionForm.list[index].
You know the best way i can achieve this ?

Thanks in advance

Marcello

---------------------------------------------------------------------
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