U can use this sample code 
<logic:iterate id = "mail" name = "receivedMails">
        <TR> 
                <TD ALIGN="CENTER">
                        <html:multibox name = "MailForm"
property="selectedMails">
                                <bean:write name="mail"/>
                        </html:multibox>
                </TD>
                <TD ALIGN="CENTER">
                        <DIV class=tenptpadded><bean:write
name="mail"/></DIV>
                </TD>
        </TR>
</logic:iterate>        

receivedMails is an ArrayList set in request
selectedMails is a String array in Form Bean 
The checkboxes will have values corresponding to each element in ArrayList
when u select a set of checkboxes the StringArray selectedMails in form bean
will be populated with values of checkboxes selected

Hope this will Help
Regards
Partha

> ----------
> From:         Firat TIRYAKI[SMTP:[EMAIL PROTECTED]
> Reply To:     Struts Users Mailing List
> Sent:         Monday, July 14, 2003 12:34 PM
> To:   Struts Users Mailing List; Adwait  B
> Subject:      Re: table dispaly
> 
> use checkbox names associated with the data in columnB and C. Maybe you
> can
> use their IDs like below
> 
> <input type="checkbox" name="check_ID"> ID is ;
> 
> <input type="checkbox" name="check_54">
> <input type="checkbox" name="check_85">
> .
> .
> .
> .
> .
> 
> F.
> 
> ----- Original Message -----
> From: "Adwait B" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, July 14, 2003 9:54 AM
> Subject: table dispaly
> 
> 
> > Hi,
> >
> > I have a table like screen :
> >
> > Column A      Column B  Column C ...
> > (Check Box)   (lable)   (lable)
> >
> > The only editable field is checkbox that is used for deleting
> > rows
> > in the table.One can imagine typical mail
> > inteface(yahoo/hotmail)
> > How I can achieve this?I'm confused about displaying as well as
> > capturing output for delete action.
> >
> > Can anyone send me sample code for this type of page including
> > form bean..or any guideline! I think this type of situation is
> > common..please help
> > Urgent help required.
> > -AB
> >
> > ___________________________________________________
> > Click below to experience Sooraj R Barjatya's latest offering
> > 'Main Prem Ki Diwani Hoon' starring Hrithik, Abhishek
> >   & Kareena http://www.mpkdh.com
> >
> >
> > ---------------------------------------------------------------------
> > 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