You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomee.apache.org by Matthew Broadhead <ma...@nbmlaw.co.uk> on 2017/11/09 15:42:31 UTC
OmniFaces CombinedResourceHandler
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
Re: OmniFaces CombinedResourceHandler
Posted by Matthew Broadhead <ma...@nbmlaw.co.uk>.
sorry i meant to send this to the MyFaces list
On 09/11/2017 16:42, Matthew Broadhead wrote:
> 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