rich:dataTable events not working/firing e.g. onRowClick/onclick
----------------------------------------------------------------

                 Key: RF-9852
                 URL: https://jira.jboss.org/browse/RF-9852
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-tables
    Affects Versions: 4.0.0.Milestone4
         Environment: Windows Vista Build 6001
apache-tomcat-7.0.4
Sun jdk1.6.0_14
RichFaces 4.0.0.20101004-M3
Mojarra JSF 2.0.3-FCS 
            Reporter: Karl Mueller


I was trying to use rich:dataTables onRowClick event. As it did not work I 
tried out the basic onclick event with the result that it is not working either.

This sample should open a MsgBox when cklicking on the table. It works with the 
basic h:dataTable, but fails with rich:dataTable.

<h:dataTable id="hTable" style="border:1px black solid;" 
onclick="alert('Clicked');">
                        <h:column>
                                <f:facet name="header">
                                        <h:outputText value="Column1" />
                                </f:facet>
                                <h:outputText value="test" />
                        </h:column>
                </h:dataTable>


                <rich:dataTable id="richTable" style="border:1px black solid;" 
onclick="alert('Clicked');">
                        <rich:column>
                                <f:facet name="header">
                                        <h:outputText value="Column1" />
                                </f:facet>
                                <h:outputText value="test" />
                        </rich:column>
                </rich:dataTable>

It seems that all event handlers are not working or maybe not yet implemented.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues

Reply via email to