beehive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eddie O'Neil (JIRA)" <...@beehive.apache.org>
Subject [jira] Resolved: (BEEHIVE-1123) netui:dataGrid should not render the headers if the size is 0
Date Thu, 15 Jun 2006 20:20:30 GMT
     [ http://issues.apache.org/jira/browse/BEEHIVE-1123?page=all ]
     
Eddie O'Neil resolved BEEHIVE-1123:
-----------------------------------

    Resolution: Won't Fix

Hm -- I disagree with this one.  If the size is 0, you should wrap the data grid in a JSTL
<if> tag and just not render anything.  

It is often the case that a data grid with zero size still renders something to keep the size
/ shape of a page consistent.

So, just do:

<jstl:if value="${dataSet.size > 0}">
    <netui-data:dataGrid ...>
        ...
    </netui-data:dataGrid>
</jstl:if>

> netui:dataGrid should not render the headers if the size is 0
> -------------------------------------------------------------
>
>          Key: BEEHIVE-1123
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-1123
>      Project: Beehive
>         Type: Bug

>     Reporter: Srinivas Surapaneni

>
> dataGrid is rendering the headers if the dataset size is 0
> It should not render anything

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message