Message:
The following issue has been resolved as CANNOT REPRODUCE.
Resolver: fabrizio giustina
Date: Mon, 27 Dec 2004 5:26 PM
testcase added to cvs: if the column content returns a null Object the "nulls"
attribute does work.
This only doesn't work if the column content:
- returns the "null" String (this only work on nulls, not on string containing
the "null" word)
- contains whitespaces around the expression which returns the null value (if
not using the jsp xml sintax), since this will force the content to be
converted to a String before displaytag can handle it.
You can check jsp tests files to see a working example.
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/DISPL-161
Here is an overview of the issue:
---------------------------------------------------------------------
Key: DISPL-161
Summary: "null" still displayaed even when nulls="false"
Type: Bug
Status: Resolved
Priority: Minor
Resolution: CANNOT REPRODUCE
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: DisplayTag
Components:
HTML Generation
Fix Fors:
1.0
Versions:
1.0 RC2
Assignee: fabrizio giustina
Reporter: Matt Hughes
Created: Mon, 27 Dec 2004 3:38 PM
Updated: Mon, 27 Dec 2004 5:26 PM
Description:
I am creating my rows like this:
<display:column nulls="false"
title="<%=column.getTitle()%>"><%=column.getColumnValue()%></display:column>
When I specify the column attribute 'property', values do not show up in the
HTML if they are null. However, if I specify the column property in the body
of the display:column tag, the word "null" does appear in the HTML. It appears
that nulls="false" isn't catching null values if they are in the body of the
display:column tag.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
displaytag-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel