Hi
I am using an options tag to display a label value collection. I have an
additional propert associated with each of the values on this option which I
have stored as another boolean[]. Now in my UI, I want to have each of these
options to appear in two different colors depending on the corresponding
value in my boolean[]. How can I implement this.


-Shilpi

-----Original Message-----
From: Dan Tran [mailto:[EMAIL PROTECTED] 
Sent: Sunday, March 30, 2003 11:15 AM
To: Struts Users Mailing List
Subject: Re: how to logic:iterate throu serveral collections at once ?

logic:iterate exposes an collection's index, with can be use to access other
collection, right?

-D
----- Original Message -----
From: "Slava_L" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, March 29, 2003 10:15 PM
Subject: Re: how to logic:iterate throu serveral collections at once ?


> Struts doc says that only one object can be iterated inside on
logic:iterate
> ----- Original Message -----
> From: "Dan Tran" <[EMAIL PROTECTED]>
> To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> Sent: Sunday, March 30, 2003 12:39 PM
> Subject: Re: how to logic:iterate throu serveral collections at once ?
>
>
> > The answer is yes. Please check struts doc
> >
> > However, by place your id and label into LabelValueBean. It will make
your
> > code easier write
> > thru logic:iterate
> >
> > -Dan
> > ----- Original Message -----
> > From: "Slava_L" <[EMAIL PROTECTED]>
> > To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
> > Sent: Saturday, March 29, 2003 9:02 PM
> > Subject: how to logic:iterate throu serveral collections at once ?
> >
> >
> > Suppose i have ids[] array and labels[] array
> >
> > I need to render link <a href="someaction.do?id=ids[i]"> label[i] </a>
> > is it possible to do with logic:iterate ?
> >
> >
> > ---------------------------------------------------------------------
> > 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]

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

Reply via email to