Hi,
Richfaces version: 3.3.0
Jboss 4.2.2 with SUN JSF 1.2
I added a <a4j:support event="onRowClick"> to my rich:datatable the problem is that the action method is not invoked, I get a MethodNotFoundException. The strange thing is, that the very same method can be called via a commandLink nested in the table.: see example:
<rich:dataTable id="myTable"
width="100%" value="#{SearchBean.list}"
var="dto" >
<a4j:support event="onRowClick" immediate="true" actionListener="#{MyBean.myMethod}">
<f:param name="id" value="#{dto.key}"/>
<f:param name="version" value="#{dto.version}"/>
</a4j:support>
<f:facet name="header">
<rich:columnGroup>
<rich:column>
<h:outputText value="objektkey"/>
</rich:column>
</rich:columnGroup>
</f:facet>
<rich:column>
<h:commandLink action="#{MyBean.myMethod}"
immediate="true" >
<f:param name="id" value="#{dto.key}"/>
<f:param name="version" value="#{dto.version}"/>
<h:outputLabel value="#{dto.okey}" />
</h:commandLink>
</rich:column>
</rich:dataTable>
I already played with the ajaxSingle attribute: if it is set to "true" then lifecycle is processed in the backend but the method is not called. If it is set to "false" then I get the MethodNotFoundException.
Does anyone have an idea? Help would really be apreciated, as I really can't figure out the error.
Regards Stevo