myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Spencer <>
Subject Re: Wildcard patterns in javax.faces.CONFIG_FILES parameter
Date Mon, 25 Feb 2008 22:01:58 GMT
Sounds like a good idea.  I am not sure if the non-spec compliant use of 
the parameter javax.faces.CONFIG_FILES in conjunction with a parameter 
not defined by the spec,  like 
would violate the spec.  At the very least it would complicate the 
documentation of javax.faces.CONFIG_FILES.

Would a better solution be to create a parameter, like 
org.apache.myfaces.ADDITIONAL_CONFIG_FILES, which supports wildcards and 
pattern matching?  The resulting set of configuration files would be the 
config files identified by BOTH parameters.

Paul Spencer

Danny Robinson wrote:
> Guys,
> I don't think it's possible to dynamically specify wildcard config loading
> patterns for JSF currently.  However, most all other frameworks today seem
> to be able to handle something similar for loading files by naming/location
> conventions.  I know JSF will pick-up META-INF/faces-confg.xml inside the
> jars, but my concern is mainly with navigation rules and creating modular UI
> bundles.
> Would there be appetite to have this as feature in the MyFaces
> implementation, disabled by default (for compliant with spec.), but enabled
> via a config setting?
> Thanks,
> Danny

View raw message