Posts Tagged ‘jsf richfaces’

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: , , ,

Optimizing JSF Richfaces Applications

Saturday, April 25, 2009 1:13 10 Comments

JSF RIA based applications with richfaces comes with very common, mature and stable choice. Infact, richfaces is mature enough technology for implementing AJAX, rich user interfaces easily in JSF. I am sharing some of the common best practices for optimizing JSF richfaces application. 
<context-param>
        <param-name>org.ajax4jsf.COMPRESS_SCRIPT</param-name>
        <param-value>true</param-value>
</context-param>
This config will enforce the container to [...]

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