-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
Introduce a configuration option similar to Facelets: "facelets.VIEW_MAPPINGS" in JSFTemplating.
Description from the Facelets docs:
"A semicolon ( delimited list of resources that Facelets should use.
If no resource paths are specified, Facelets will handle all requests (DEFAULT).
If one or more paths are specified, Facelets will only use the ones specified,
otherwise fall back on the parent or default ViewHandler (JSP)."
to keep things somewhat "consistent" i would propose:
- context-param > param-name: com.sun.jsftemplating.VIEW_MAPPINGS
- allow simple .suffix and /prefix/ mappings
- additionally allow "mixed" mappings: /prefix//infix/.suffix
Implementing this would allow us to bypass JSFTemplating in a user-configurable way and before the
LayoutDefinitionManagers try to decide if the requested resource is an acceptable template.
Environment
Operating System: All
Platform: All
Affected Versions
[1.2]