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

How do you change vbulletin's home page to the forums instead of the default (CMS or Activity Stream)? -

c++ - Troubles when compiling phash program -