Hi All,
I am upgrading to richfaces4 and jsf2 on websphere 8 server. Trying to do something like this.
<rich:dataTable rowKeyVar="rowid" value="#{myList}"
var="rows" >
<a4j:ajax event="rowclick" execute="@this" oncomplete="#{console.log('#{rows}')}" />
...........................
</rich:dataTable
It doesnt evaluate the var attribute. Can you pls let me know why ? This syntax used to work in Richfaces 3.3
Hi,
I can only guess it doesn't evaluate because it doesn't know what the value should be at the time.
But if you only want to log to console you can do this:
<rich:dataTable … onrowclick="console.log('#{rows}')">