[richfaces-issues] [JBoss JIRA] Created: (RF-9852) rich:dataTable events not working/firing e.g. onRowClick/onclick

Karl Mueller (JIRA) jira-events at lists.jboss.org
Mon Nov 22 07:40:53 EST 2010


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

        


More information about the richfaces-issues mailing list