You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by "Nathan Jantz (JIRA)" <be...@incubator.apache.org> on 2005/03/23 22:48:20 UTC

[jira] Created: (BEEHIVE-459) Data grid cells with filterExpressions are not rendering correct class names for those table cells.

Data grid cells with filterExpressions are not rendering correct class names for those table cells.
---------------------------------------------------------------------------------------------------

         Key: BEEHIVE-459
         URL: http://issues.apache.org/jira/browse/BEEHIVE-459
     Project: Beehive
        Type: Bug
  Components: NetUI  
    Versions: V1Beta    
    Reporter: Nathan Jantz
 Assigned to: Eddie O'Neil 
     Fix For: V1Beta
 Attachments: filterGridTest5.zip

Filterable data grids with filterExpressions defined in the header cells and data cells are not
rendering correct class names for those table cells.

<netui-data:headerCell headerText="Genre" filterAction="filterGrid" filterExpression="genre">

renders:
<th class="datagrid-filtered datagrid">Genre<br /> <input type='text' value='' id='genre' /></th>
expected result:
<th class="datagrid-filtered">Genre<br /> <input type='text' value='' id='genre' /></th>

Also:

<netui-data:spanCell value="${container.item.genre}" filterExpression="genre" />
renders:
<td class="datagrid-filtered datagrid"><span>Action</span></td>
expected result:
<td class="datagrid-filtered"><span>Action</span></td>

Run the attached repro and view source in the browser.

Repro to be attach here shortly.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Closed: (BEEHIVE-459) Data grid cells with filterExpressions are not rendering correct class names for those table cells.

Posted by "Nathan Jantz (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-459?page=history ]
     
Nathan Jantz closed BEEHIVE-459:
--------------------------------


Per Eddie's comment, using chained CSS class names are preferable.  Also, the current implementation of rendering filtered grid cell class names is consistent with sorted grid cell class names.

> Data grid cells with filterExpressions are not rendering correct class names for those table cells.
> ---------------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-459
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-459
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Nathan Jantz
>     Assignee: Nathan Jantz
>      Fix For: V1Beta
>  Attachments: filterGridTest5.zip
>
> Filterable data grids with filterExpressions defined in the header cells and data cells are not
> rendering correct class names for those table cells.
> <netui-data:headerCell headerText="Genre" filterAction="filterGrid" filterExpression="genre">
> renders:
> <th class="datagrid-filtered datagrid">Genre<br /> <input type='text' value='' id='genre' /></th>
> expected result:
> <th class="datagrid-filtered">Genre<br /> <input type='text' value='' id='genre' /></th>
> Also:
> <netui-data:spanCell value="${container.item.genre}" filterExpression="genre" />
> renders:
> <td class="datagrid-filtered datagrid"><span>Action</span></td>
> expected result:
> <td class="datagrid-filtered"><span>Action</span></td>
> Run the attached repro and view source in the browser.
> Repro to be attach here shortly.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Updated: (BEEHIVE-459) Data grid cells with filterExpressions are not rendering correct class names for those table cells.

Posted by "Nathan Jantz (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-459?page=history ]

Nathan Jantz updated BEEHIVE-459:
---------------------------------

    Attachment: filterGridTest5.zip

> Data grid cells with filterExpressions are not rendering correct class names for those table cells.
> ---------------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-459
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-459
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Nathan Jantz
>     Assignee: Eddie O'Neil
>      Fix For: V1Beta
>  Attachments: filterGridTest5.zip
>
> Filterable data grids with filterExpressions defined in the header cells and data cells are not
> rendering correct class names for those table cells.
> <netui-data:headerCell headerText="Genre" filterAction="filterGrid" filterExpression="genre">
> renders:
> <th class="datagrid-filtered datagrid">Genre<br /> <input type='text' value='' id='genre' /></th>
> expected result:
> <th class="datagrid-filtered">Genre<br /> <input type='text' value='' id='genre' /></th>
> Also:
> <netui-data:spanCell value="${container.item.genre}" filterExpression="genre" />
> renders:
> <td class="datagrid-filtered datagrid"><span>Action</span></td>
> expected result:
> <td class="datagrid-filtered"><span>Action</span></td>
> Run the attached repro and view source in the browser.
> Repro to be attach here shortly.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (BEEHIVE-459) Data grid cells with filterExpressions are not rendering correct class names for those table cells.

Posted by "Eddie O'Neil (JIRA)" <be...@incubator.apache.org>.
     [ http://issues.apache.org/jira/browse/BEEHIVE-459?page=history ]
     
Eddie O'Neil resolved BEEHIVE-459:
----------------------------------

     Assign To: Nathan Jantz  (was: Eddie O'Neil)
    Resolution: Invalid

It's actually rendering the correct CSS class names.  When a grid cell is filtered, it should render both "datagrid-filtered" and "datagrid" so that "datagrid-filtered" can just change the existing style.  If they're chained, it supports the CSS model more effectively.

> Data grid cells with filterExpressions are not rendering correct class names for those table cells.
> ---------------------------------------------------------------------------------------------------
>
>          Key: BEEHIVE-459
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-459
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Nathan Jantz
>     Assignee: Nathan Jantz
>      Fix For: V1Beta
>  Attachments: filterGridTest5.zip
>
> Filterable data grids with filterExpressions defined in the header cells and data cells are not
> rendering correct class names for those table cells.
> <netui-data:headerCell headerText="Genre" filterAction="filterGrid" filterExpression="genre">
> renders:
> <th class="datagrid-filtered datagrid">Genre<br /> <input type='text' value='' id='genre' /></th>
> expected result:
> <th class="datagrid-filtered">Genre<br /> <input type='text' value='' id='genre' /></th>
> Also:
> <netui-data:spanCell value="${container.item.genre}" filterExpression="genre" />
> renders:
> <td class="datagrid-filtered datagrid"><span>Action</span></td>
> expected result:
> <td class="datagrid-filtered"><span>Action</span></td>
> Run the attached repro and view source in the browser.
> Repro to be attach here shortly.

-- 
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
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira