jsf 2 - a4j:commandButton passing values in callback -


i'm working jsf 2 , richfaces. can pass value bean oncomplete function in a4j:commandbutton? counter (int) example.

you can use el in there. it's evaluated on per request basis.

<a4j:commandbutton ... oncomplete="somefunction(#{bean.someintproperty})" /> 

note feature specific richfaces components. standard jsf components (and primefaces) evalute them on per view build time only.


Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -