[ http://issues.apache.org/jira/browse/BEEHIVE-391?page=history ] Nathan Jantz closed BEEHIVE-391: --------------------------------
Thanks Eddie. It makes total sense that if thead, tfoot and tbody tags are rendered only once in a page that they would not require class name attributes. Also, after revisitng my JSP, I discovered why just thead was rendering class="datagrid". I had defined a styleClass attribute for it in my <netui:header> tag and not in <netui:footer> tag. I'm closing this issue. > 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: Nathan Jantz > Priority: Minor > Fix For: V1 > > 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
