[jsr-314-open-mirror] [jsr-314-open] Composite component file extensions

Andy Schwartz andy.schwartz at oracle.com
Fri Oct 29 16:21:40 EDT 2010

Gang -

Both MyFaces and Mojarra currently assume/require the file extension 
".xhtml" for composite component resources.  This seems overly 
restrictive.  Composite component authors should be able to use other 
file extensions - eg. ".view.xml", or, as we would like to do here: ".jsf".

What do folks think about introducing spec language that requires the 
JSF implementations to check for composite component resources under any 
extensions specified via the "javax.faces.FACELETS_VIEW_MAPPINGS" 
context parameter?

Or, if we start looking into jar-specific configuration, it might be 
interesting to allow such extensions to be specified on a per-resource 
library basis.



More information about the jsr-314-open-mirror mailing list