[ 
http://issues.apache.org/jira/browse/TOMAHAWK-155?page=comments#action_12367480 
] 

Werner Punz commented on TOMAHAWK-155:
--------------------------------------

The Extensionsfilter is just a web frontend trigger for loading resources.
The extensionsfilter is way too problematic for the end users because it 
enforces another entry in the web.xml.
(90% of all resource loading problems revolve around exactly this issue)

I personally would prefer a phase listener based approach, which is way less 
problematic, because it is more or less a snap in with its own configuration.

John Fallows pointed me out towards a project he and some other guys are doing, 
the so called weblet api, which is a generic resource bundeling and loading 
mechanism with utility and helper mechanisms for most frameworks. On the JSF 
side he uses a phase listener and a view handler (the view handler can be 
replaced with a utlity class, it is only there to keep the api as close to jsf 
as possible, but in fact it is only a utility class)

In the long run we should talk to the other framework makers maybe we can find 
a common resource bundeling and loading ground, then adding something like dojo 
to the codebase, could become a maven download instead of having our own 
resource hierarchy.


> Move ExtensionsFilter to commons so it can be reused outside Tomahawk
> ---------------------------------------------------------------------
>
>          Key: TOMAHAWK-155
>          URL: http://issues.apache.org/jira/browse/TOMAHAWK-155
>      Project: MyFaces Tomahawk
>         Type: Wish
>     Reporter: Laurie Harper
>     Priority: Minor

>
> The ExtensionsFilter would be useful across projects. It could be reused by 
> Tobago and/or ADF Faces, and would be useful in other, non-MyFaces component 
> libraries. It would be useful if it were moved to commons to support such 
> reuse.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to