Use the indexId attribute from the nested:ietrate tag

Thanks,
Satish

-----Original Message-----
From: Srinivas Rao [mailto:[EMAIL PROTECTED] 
Sent: Thursday, June 10, 2004 2:18 PM
To: Struts Users Mailing List
Subject: How to Find Index Value


Hi Friends,
 
I am using <html:select> tag. Here is the code  i am writing....
 
What my problem is, how to get the index of select list in the
<nested:iteate> tag ...
 
 

  <nested:iterate name="createUserActionForm" property="mtSpecialities"
id="mtSpeciality" >
    <bean:define name="createUserActionForm" property="specialityList"
id="specialityList" />
 
 
     <nested:select indexed="true" property="specialityid"  >
        <html:options collection="specialityList" name="specialityList"
property="specialityid"  labelProperty="displayname"/>
     </nested:select>

 
</nested:iterate>

I am able to getting the select lists but i am not getting the index of
select lists.
 
 
Please Help me ..
Thanks
 
Srinivas
 

                
---------------------------------
Do you Yahoo!?
Friends.  Fun. Try the all-new Yahoo! Messenger

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

Reply via email to