the simples way how to do this
u should use :

<td color=<bean:write name="loan" property="color"/>> cell content as in urs
letter</td>

----- Original Message -----
From: "Bhaskar Gopalan" <[EMAIL PROTECTED]>
To: "Struts Group (E-mail)" <[EMAIL PROTECTED]>
Sent: Saturday, March 30, 2002 5:30 AM
Subject: Setting Color inside logic:iterate


> Hi,
>
> is there anyway to set the color of a row from the bean being iterated?
>
> My code is given below:
>
> <logic:iterate id="loan" name="loans"
> type="com.mortgagehub.cba.business.LoanSummaryBean">
> <tr>
> <td align="left" valign="middle" colspan=1>
> <font size="2" color="#000000" face="Verdana">
> <bean:write name="loan" property="status" filter="true"/>
> </font>
> </td>
> </logic:iterate>
>
> loan has a property called color that I'd like to use instead of
="#000000".
>
> Pls tell me how to do it.
>
> Thnx,
> GB
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>


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

Reply via email to