i have already posted the same on stack overflow with omnifaces tag.  there must be something fundamentally different between Mojarra and MyFaces for this to be happening?  shouldn't they behave more or less the same?

On 09/11/2017 16:58, Thomas Andraschko wrote:
Hi,

i would ask the omnifaces guys about that - they know their
CombinedResourceHandler better then we do ;)

Regards,
Thomas

2017-11-09 16:51 GMT+01:00 Matthew Broadhead <matthew.broadh...@nbmlaw.co.uk
:
Hi,

I am using TomEE 7.0.3 Plus (MyFaces 2.2.11).  I have tried different
OmniFaces versions particularly 1.14 and 2.4.

There seems to be a problem with using OmniFaces CombinedResourceHandler
with MyFaeces.  CombinedResourceHandler bundles all js and css resources to
reduce browser load times by reducing hits on the server.

There is a test project at https://github.com/chongma/test. I use the
Eclipse IDE and deploy the project onto a TomEE 7.0.3 Plus server.  It
currently works as expected with extra dependencies:
<dependency>
             <groupId>com.sun.faces</groupId>
             <artifactId>jsf-api</artifactId>
             <version>2.2.13</version>
             <scope>compile</scope>
         </dependency>
         <dependency>
             <groupId>com.sun.faces</groupId>
             <artifactId>jsf-impl</artifactId>
             <version>2.2.13</version>
             <scope>runtime</scope>
         </dependency>
which switch it to Mojarra.  If you remove these dependencies then the
CombinedResourceHandler does not work anymore.

Regards,
Matthew


Reply via email to