RE: defining style class with the iterate tag

2002-10-29 Thread Madel,Kurt
If you are using 1.1b2 then the iterate tag has an indexed attribute.  For
you example below:



Kurt Madel
Programmer, CSMi
(703) 823-4300 ext. 170


-Original Message-
From: [EMAIL PROTECTED] [mailto:meissa.Sakho@;bpam.fr] 
Sent: Tuesday, October 29, 2002 5:32 AM
To: [EMAIL PROTECTED]
Subject: defining style class with the iterate tag

hi all,

I'm using the iterate tag to display my arrayList element like this.



  
   
   
   
   
   

  


and it works fine.

But I would like to define row style class in bold according to the index
value
of the iterated element.

without using the tag is looked like this
">
 where index is the index value of the iterated element.
But I don't know how to perform this inside the iterate tag.
The mailView object has a property named index could be used
to perform some comparison. But I don't know how to use it.

Can some one helps ?

thanks.

Meissa




--
To unsubscribe, e-mail:

For additional commands, e-mail:


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Réf. : Re: defining style class with the iterate tag

2002-10-29 Thread meissa . Sakho
thank you for your suggestion.
it works fine.

Meissa




"deepak" <[EMAIL PROTECTED]> on 29/10/2002 12:29:10

Veuillez répondre à "Struts Users Mailing List" <[EMAIL PROTECTED]>

Pour :"Struts Users Mailing List" <[EMAIL PROTECTED]>
cc :
Objet :   Re: defining style class with the iterate tag


You can do it this way


  
  
">
   

  



- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 29, 2002 4:02 PM
Subject: defining style class with the iterate tag


> hi all,
>
> I'm using the iterate tag to display my arrayList element like this.
>
> 
>
>   
> property="code"/>
>
>
>
>
>
>   
> 
>
> and it works fine.
>
> But I would like to define row style class in bold according to the index
value
> of the iterated element.
>
> without using the tag is looked like this
> ">
>  where index is the index value of the iterated element.
> But I don't know how to perform this inside the iterate tag.
> The mailView object has a property named index could be used
> to perform some comparison. But I don't know how to use it.
>
> Can some one helps ?
>
> thanks.
>
> Meissa
>
>
>
>
> --
> To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@;jakarta.apache.org>
> For additional commands, e-mail:
<mailto:struts-user-help@;jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>








--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@;jakarta.apache.org>




Re: defining style class with the iterate tag

2002-10-29 Thread deepak
You can do it this way


  
  
 ">

 
  



- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, October 29, 2002 4:02 PM
Subject: defining style class with the iterate tag


> hi all,
>
> I'm using the iterate tag to display my arrayList element like this.
>
> 
>
>   
> property="code"/>
>
>
>
>
>
>   
> 
>
> and it works fine.
>
> But I would like to define row style class in bold according to the index
value
> of the iterated element.
>
> without using the tag is looked like this
> ">
>  where index is the index value of the iterated element.
> But I don't know how to perform this inside the iterate tag.
> The mailView object has a property named index could be used
> to perform some comparison. But I don't know how to use it.
>
> Can some one helps ?
>
> thanks.
>
> Meissa
>
>
>
>
> --
> To unsubscribe, e-mail:

> For additional commands, e-mail:



--
To unsubscribe, e-mail:   
For additional commands, e-mail: