Posts Tagged ‘jsf server side method’

JSF Richfaces call server side method from client side java script

Tuesday, June 9, 2009 0:21 1 Comment

With the most strong JSF + Richfaces framework combination for Java Ajax application, it is very easy to call server side methods from client side java script or call your server side event method from other jsf component easily. Following is the smart & small tip to do this.
<rich:simpletogglepanel label=”Sample Page” onexpand=”buildPage()”></rich:simpletogglepanel>
<a4j:jsfunction name=”buildPage” action=”#{controller.buildAllPage}” reRendr=”grid” [...]

This was posted under category: Java Tags: , , ,