I am trying to reduce the load size of my pages by reducing all the calls for richfaces js files into a single call. From reading the forums it appears this should be done with the following in the web.xml
<context-param> <param-name>org.ajax4jsf.RESOURCE_URI_PREFIX</param-name> <param-value>rfRes</param-value> </context-param> <context-param> <param-name>org.richfaces.LoadStyleStrategy</param-name> <param-value>ALL</param-value> </context-param> <context-param> <param-name>org.richfaces.LoadScriptStrategy</param-name> <param-value>ALL</param-value> </context-param> <context-param> <param-name>org.ajax4jsf.COMPRESS_SCRIPT</param-name> <param-value>false</param-value> </context-param>
rfResorg/richfaces/renderkit/html/scripts/utils.js rfResorg/richfaces/renderkit/html/scripts/modalPanel.js /rfResorg/richfaces/renderkit/html/scripts/datascroller.js rfResscripts/ShuttleUtils.js rfResscripts/SelectItem.js
set style strategies to none and load resources with loadStyle/script (ui.pack and framework.pack)