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” …
Tag Archive: jsf richfaces
Permanent link to this article: http://www.javaplex.com/blog/jsf-richfaces-call-server-side-method-from-client-side-java-script/
Apr
25
Optimizing JSF Richfaces Applications
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 …
Permanent link to this article: http://www.javaplex.com/blog/optimizing-jsf-richfaces-applications/