myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Struberg (Commented) (JIRA)" <>
Subject [jira] [Commented] (MFCOMMONS-33) Extended ResourceHandler implementation
Date Fri, 28 Oct 2011 09:26:32 GMT


Mark Struberg commented on MFCOMMONS-33:

this contradicts the JSF spec which _explicitely_ notes the language and other el params.
I cannot find ANY hint that this must be application scoped. Au contraire: currently JSF resources
_explicitely_ disables the cache if there is any el in them.
> Extended ResourceHandler implementation
> ---------------------------------------
>                 Key: MFCOMMONS-33
>                 URL:
>             Project: MyFaces Commons
>          Issue Type: Task
>          Components: myfaces-commons-resourcehandler
>            Reporter: Leonardo Uribe
>            Assignee: Mark Struberg
>             Fix For: 1.0.2
> myfaces-commons-resourcehandler module includes an "AdvancedResourceHandler" with these
> - relative paths between resources (css files referencing images without using #resource['..'])

> - caching resources in the client (disabled if ProjectStage == Development) 
> - GZIP compression and local cache in tmp dir (disabled if ProjectStage == Development)

> - i18n (supporting country code and language). 
> This requires more discussion and work to create a full solution. In order to create
a enhanced implementation, I have a proposal on this issue:
> - Replace AdvancedResourceHandler with ExtendedResourceHandler, which is a more descriptive
> - Use the same pattern from myfaces shared, because it is well tested.
> - Use a SAXParser to load files, since the proposed solution is java 1.6 specific, and
compatibility with jdk 1.5 is required. 
> I'll commit the proposal, but keep the previous code so we can discuss over there.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message