myfaces-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Andraschko <andraschko.tho...@gmail.com>
Subject Re: OmniFaces CombinedResourceHandler
Date Thu, 09 Nov 2017 16:38:47 GMT
You can also create a issue on their github project.

Yes, "more or less" :D
Not every small bit is defined in the specs, so in some parts their might
be some small differences.
Also the CombinedResourceHandler is not just a small component like a
inputText, it heavily changes the resources and many of these used features
are now specified now in the JSF 2.3 specs.
So OmniFaces already used some JSF impl hacks here in pre JSF 2.3
environments.

2017-11-09 17:28 GMT+01:00 Matthew Broadhead <matthew.broadhead@nbmlaw.co.uk
>:

> 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.broadhead@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
>>>
>>>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message