Hi all,
I have a similar questions.

In my iterate I have a regular Button and I need to know which one was 
clicked. Therefore, I have to have a dynamic value generated in the iterate.
I have tried defaulting the value to be part of the bean that I am iterating
over ,
but this has not worked for me.
The following does not work for me...
Any ideas on what will work??
will the indexed property work?

  <logic:iterate id="addressAccount" name="ChangeAddressForm"
property="mapAddressAccount" indexId="index">
         <bean:write name="addressAccount" property="account.accountNumber"
filter="true"/></td>
         <bean:write name="addressAccount" property="account.status"
filter="true"/></td>
        ....     
          <table width="100%" border="0" height="45" cellpadding="0">
            <tr>
              <td width="26%" valign="top">
                
                <html:submit property="buttonSelected" value='<bean:write
name="addressAccount" property="address.addressId" filter="true"/>' />
                
              </td>
            </tr>
          </table>
       

      </logic:iterate>
 Thanks Beth.     
-----Original Message-----
From: L. Yeung [mailto:[EMAIL PROTECTED]]
Sent: Monday, October 22, 2001 3:27 AM
To: [EMAIL PROTECTED]
Subject: How To: Radio Buttons


Hi All! I need to iterate a collection of supplier
info with radio buttons. I want the value property to
have dynamic values extractd from the collection.

<logic:iterate name="user" id="suppliersLookupList"
property="suppliersLookupListCollection">
..
<html:radio name="suppliersLookupList"
property="selectedSupplierNo" value="supplierNo">

            <bean:write name="suppliersLookupList"
property="supplierNo" filter="true"/>
          </html:radio>


Thanks in advance.
L.Yeung

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com


This message contains information which may be confidential and privileged.
Unless you are the addressee  (or authorized to receive for the addressee),
you may not use, copy or disclose to anyone the message or any information
contained in the message.  If you have received the message in error, please
advise the sender by reply e-mail, and delete or destroy the message. 

Thank you.

Reply via email to