[ http://issues.apache.org/jira/browse/BEEHIVE-391?page=history ]

Nathan Jantz updated BEEHIVE-391:
---------------------------------

    Description: 
The netui-data:footer tag is not rendering the class attribute in the tfoot 
html tag when styleClassPolicy is set to 'empty'.

JSP Code Snippet:

<netui-data:dataGrid dataSource="pageScope.jstlResult.rows" name="ResultSet" 
styleClassPolicy="empty" renderRowGroups="true">
...

  <netui-data:footer>
    <td colspan="7" ><hr /><br/><netui-data:renderPager /></td>
  </netui-data:footer>
</netui-data:dataGrid>

---------------------------------
Expected Results:

<thead class="datagrid">
  <tr class="header">...</tr>
</thead>
...
<tfoot class="datagrid">
  <tr class="footer">...</tr>
</tfoot>

---------------------------------
Actual Results:

<thead class="datagrid">
  <tr class="header">...</tr>
</thead>
...
<tfoot>
  <tr class="footer">...</tr>
</tfoot>

Notice that the thead tag is properly rendering the class attribute but not 
tfoot.  Also it is worth mentioning that the attribute IS rendered in the tfoot 
tag when styleClassPolicy is set to 'default'.





  was:
The netui-data:footer tag is not rendering the class attribute in the tfoot 
html tag when styleClassPolicy is set to 'empty'.

JSP Code Snippet:

<netui-data:dataGrid dataSource="pageScope.jstlResult.rows" name="ResultSet" 
styleClassPolicy="empty" renderRowGroups="true">
...

  <netui-data:footer>
    <td colspan="7" ><hr /><br/><netui-data:renderPager /></td>
  </netui-data:footer>
</netui-data:dataGrid>

---------------------------------
Expected Results:

<thead class="datagrid">
  <tr class="header">...</tr>
</tfoot>
...
<tfoot class="datagrid">
  <tr class="footer">...</tr>
</tfoot>

---------------------------------
Actual Results:

<thead class="datagrid">
  <tr class="header">...</tr>
</tfoot>
...
<tfoot>
  <tr class="footer">...</tr>
</tfoot>

Notice that the thead tag is properly rendering the class attribute but not 
tfoot.  Also it is worth mentioning that the attribute IS rendered in the tfoot 
tag when styleClassPolicy is set to 'default'.






Fixed code snippet typo in bug description.

> Data grid netui-data:footer tag is not rendering class attribute in tfoot 
> html tag
> ----------------------------------------------------------------------------------
>
>          Key: BEEHIVE-391
>          URL: http://issues.apache.org/jira/browse/BEEHIVE-391
>      Project: Beehive
>         Type: Bug
>   Components: NetUI
>     Versions: V1Beta
>     Reporter: Nathan Jantz
>     Assignee: Eddie O'Neil
>     Priority: Minor
>      Fix For: V1Beta

>
> The netui-data:footer tag is not rendering the class attribute in the tfoot 
> html tag when styleClassPolicy is set to 'empty'.
> JSP Code Snippet:
> <netui-data:dataGrid dataSource="pageScope.jstlResult.rows" name="ResultSet" 
> styleClassPolicy="empty" renderRowGroups="true">
> ...
>   <netui-data:footer>
>     <td colspan="7" ><hr /><br/><netui-data:renderPager /></td>
>   </netui-data:footer>
> </netui-data:dataGrid>
> ---------------------------------
> Expected Results:
> <thead class="datagrid">
>   <tr class="header">...</tr>
> </thead>
> ...
> <tfoot class="datagrid">
>   <tr class="footer">...</tr>
> </tfoot>
> ---------------------------------
> Actual Results:
> <thead class="datagrid">
>   <tr class="header">...</tr>
> </thead>
> ...
> <tfoot>
>   <tr class="footer">...</tr>
> </tfoot>
> Notice that the thead tag is properly rendering the class attribute but not 
> tfoot.  Also it is worth mentioning that the attribute IS rendered in the 
> tfoot tag when styleClassPolicy is set to 'default'.

-- 
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

Reply via email to