Use the expression language, or a decorator, to generate an HTML value
like <br/>. I use the following a lot:

 

<display:column title="Value">

<c:choose>

<c:when test="${empty bean.value}">

                                                <br/>

</c:when>

<c:otherwise>

                                                <c:out
value="${bean.value}"/>

</c:otherwise>

</c:choose>

</display:column>

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
sriram purushothaman
Sent: Tuesday, November 20, 2007 8:48 AM
To: displaytag-user@lists.sourceforge.net
Subject: [displaytag-user] Very Urgent - I need to display empty value
indisplay:column tag..

 

Dear All,

 

I have a session attribute which contains bean.In that bean i have 8
properties.In that 8 properties, not every properties has values.one or
two properties has no/empty values. While i am displaying this attribute
using the display column its not showing the table column well(table
border/margin are missing).So let me know what i need to display that
column which has empty values with perfect table colummn margin/border. 

 

Appreciate the replies.


Thanks ,

Sriram P
 

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
displaytag-user mailing list
displaytag-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/displaytag-user

Reply via email to