Not having any information about what you're trying to do, its hard to give
you an answer. I think that your answer will start with using the indexId
attribute on the the iterate tag. Where the answer goes from there depends
on what you're doing.
Nick
|---------+---------------------------->
| | Srinivas Rao |
| | <[EMAIL PROTECTED]|
| | o.com> |
| | |
| | 06/10/2004 05:37 |
| | AM |
| | Please respond to|
| | "Struts Users |
| | Mailing List" |
| | |
|---------+---------------------------->
>------------------------------------------------------------------------------------------------------------------------------|
|
|
| To: Struts Users Mailing List <[EMAIL PROTECTED]>
|
| cc:
|
| Subject: RE: How to Find Index Value
|
>------------------------------------------------------------------------------------------------------------------------------|
Hi ,
I am able to get the index but i am asking How to find the particular
select box name from <nested:iterate> tag.....
For Example :::: Iterate tag contains 6 select list boxes and now i am find
out the particular select box from the iterate tag.
How to find out select Box .................
Thanks for replay to me
Srinivas
terry Highfield <[EMAIL PROTECTED]> wrote:
Hi Srinivas,
The way I solve this is to use the following code in the Action - but true
I
have only used indexed with buttons, the principle should be the same
though.
for (int i=0; i speciality = request.getParameter("specialityid["+i+"]");
}
Hope this helps,
Terry
>From: Srinivas Rao
>Reply-To: "Struts Users Mailing List"
>To: Struts Users Mailing List
>Subject: How to Find Index Value
>Date: Thu, 10 Jun 2004 01:47:37 -0700 (PDT)
>
>Hi Friends,
>
>I am using tag. Here is the code i am writing....
>
>What my problem is, how to get the index of select list in the
> tag ...
>
>
>
> >id="mtSpeciality" >
> >id="specialityList" />
>
>
>
> >property="specialityid" labelProperty="displayname"/>
>
>
>
>
>
>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
_________________________________________________________________
Express yourself with cool new emoticons
http://www.msn.co.uk/specials/myemo
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------
Do you Yahoo!?
Friends. Fun. Try the all-new Yahoo! Messenger
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]