Hello,
  Thx... but seems not to work

i cant manage to populate back to the Action class,.. since I will have an
array of DTO that needs to be submitted from the page.

The crucial problem that I am having is mainly that within the
logic:iterate, for each 'row' I need to create an input parameter that is
associated to a property of type array[]

In pseudocode, it would be like this

<logic:iterate>
..   <html:checkbox property="x"/>
</logic:iterate>


And that should generate a checkbox for each row. 

I cannot manage how to do that... I m sure someone has already had this
problem...

Any help?

Regards
 marco


-----Original Message-----
From: Tremal Naik [mailto:[EMAIL PROTECTED] 
Sent: 21 April 2006 11:09
To: Struts Users Mailing List
Subject: Re: Can struts do it?

2006/4/21, Marco Mistroni <[EMAIL PROTECTED]>:
> I have a DynaActionForm.  It has two array fields (String[] ownerRef and
> Boolean[] suspendPart) and some other fields.  I want to populate these
> arrays from a form and be able to submit the value from the page.
>  That's it.

why don't you define an array of beans, each of which containing two
properties:

class myBean{

}
--
TREMALNAIK

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