Wrap the image tag with a JSTL tag  (where row is your id and value is your
boolean variable)
                                <c:if test="${row.value}">
                                        <img src="images/foo.gif" />
                                </c:if>

> -----Original Message-----
> From: Kamalakar Desai [SMTP:[EMAIL PROTECTED]
> Sent: Friday, April 23, 2004 11:19 AM
> To:   [EMAIL PROTECTED]
> Subject:      Re: [displaytag-user] image in column
> 
> I need to show the image only in certain rows of a column and not all the
> rows.
> displaying the image depends on some condition of the data in the row.
> 
> Francois Beausoleil <[EMAIL PROTECTED]> wrote:
> 
> 
>        ... <http://us.f411.mail.yahoo.com/ym/...>
>       
>       
>       On Fri, 23 Apr 2004 08:37:09 -0700 (PDT), "Kamalakar Desai"
>       said:
>       > Hi,
>       > I need to display the image in some of the rows in the table. How
> can I
>       > do this using displaytag?
>       > 
>       > Thanks.
>       > 
>       > 
>       > ---------------------------------
>       > Do you Yahoo!?
>       > Yahoo! Photos: High-quality 4x6 digital prints for 25�
>       Developer of Java Gui Builder
>       http://jgb.sourceforge.net/
>       
>       
>       -------------------------------------------------------
>       This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
>       For a limited time only, get FREE Ground shipping on all orders of
> $35
>       or more. Hurry up and shop folks, this offer expires April 30th!
>       http://www.thinkgeek.com/freeshipping/?cpg297
>       _______________________________________________
>       displaytag-user mailing list
>       [EMAIL PROTECTED]
>       https://lists.sourceforge.net/lists/listinfo/displaytag-user
> 
>   _____  
> 
> Do you Yahoo!?
> Yahoo! Photos: High-quality 4x6 digital prints for 25�
> <http://pa.yahoo.com/*http://us.rd.yahoo.com/evt=23765/*http://photos.yaho
> o.c om/ph/print_splash>


-------------------------------------------------------
This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek
For a limited time only, get FREE Ground shipping on all orders of $35
or more. Hurry up and shop folks, this offer expires April 30th!
http://www.thinkgeek.com/freeshipping/?cpg297
_______________________________________________
displaytag-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to