-
1. Re: Add Richfaces 4 as a module to JBoss AS 7.1
guinotphil Feb 7, 2012 6:13 AM (in response to grubi)I don't know about Richfaces 4, but I managed to use Richfaces 3 as a module and actually I needed to patch a few things:
a) In richfaces-api-3.3.3.Final and richfaces-impl-3.3.3.Final, the static Maps
* org.ajax4jsf.Messages.bundles
* org.ajax4jsf.context.AjaxContext.ajaxContextClasses
* org.ajax4jsf.resource.InternetResourceBuilder.instances
* org.richfaces.skin.SkinFactory.instances
* org.ajax4jsf.util.ServicesUtils._services
* org.ajax4jsf.util.ServicesUtils._instances
must be Weak
b) In richfaces-impl-3.3.3.Final, the method org.ajax4jsf.resource.ResourceBuilderImpl.createResource(Object, String) must add a failback to load the class from the Current Thread's class loader.
c) In addition, using JSF 1.2, I had to deploy Facelets 1.1.15 as a module and needed to patch MetaRulesetImpl to set the attributes map as a WeakHashMap<Class<?>, WeakReference<MetadataTarget>>.
-
2. Re: Add Richfaces 4 as a module to JBoss AS 7.1
lfryc Feb 27, 2012 7:47 AM (in response to guinotphil)Hi guys,
just for reference, here is the feature request for distributing RichFaces 4 as AS7 module, please vote there or comment if you would like to grab that issue and implement it:
https://issues.jboss.org/browse/RF-12008
Thanks,
~ Lukas