Author: abelevich
Date: 2011-02-01 11:20:31 -0500 (Tue, 01 Feb 2011)
New Revision: 21368
Modified:
trunk/ui/iteration/ui/src/main/java/org/richfaces/renderkit/ExtendedDataTableRenderer.java
Log:
RF-8685 implement set of event handlers onrow* (onrowmouseover, onrowclick and so on..)
for dataTAble and ExtendedDataTable
- added instanceof checking.
Modified:
trunk/ui/iteration/ui/src/main/java/org/richfaces/renderkit/ExtendedDataTableRenderer.java
===================================================================
---
trunk/ui/iteration/ui/src/main/java/org/richfaces/renderkit/ExtendedDataTableRenderer.java 2011-02-01
16:07:35 UTC (rev 21367)
+++
trunk/ui/iteration/ui/src/main/java/org/richfaces/renderkit/ExtendedDataTableRenderer.java 2011-02-01
16:20:31 UTC (rev 21368)
@@ -765,7 +765,9 @@
UIDataTableBase table = state.getRow();
writer.startElement(HtmlConstants.TR_ELEMENT, table);
- renderRowHandlers(facesContext, (UIDataTableBase)rowHolder.getRow());
+ if (rowHolder.getRow() instanceof UIDataTableBase) {
+ renderRowHandlers(facesContext, (UIDataTableBase)rowHolder.getRow());
+ }
String rowClass = getRowClass(rowHolder);
if (!"".equals(rowClass)) {
Show replies by date