[jsr-314-open-mirror] [jsr-314-open] javax.faces.view.facelets.ResourceResolver cannot be fully overriden
Leonardo Uribe
lu4242 at gmail.com
Tue Apr 6 22:25:31 EDT 2010
Hi
Checking this issue on myfaces:
https://issues.apache.org/jira/browse/MYFACES-2628
It was notice there is a way to override the default ResourceResolver, used
to load facelets templates, but the algorithm related to ViewHandler (spec
pdf section 7.5.2) says that if the physical resource exists with the name
requestViewId let that value be viewId, otherwise return null. So, if some
user try to load templates from other sources, the ViewHandler just will not
work.
The problem is there is no standard way to retrieve the current
ResourceResolver object, so the ViewHandler just can't find them. In
myfaces, this one is instantiated on facelets vdl object, when it is
initialized.
One idea to solve this one could be expose this object through vdl interface
(maybe a public method called getResourceResolver()?).
Since this issue is related to other ones that requires expose facelets api
objects, I'll not create an issue on the spec jira, but if it is necessary I
can create it.
regards,
Leonardo Uribe
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jsr-314-open-mirror/attachments/20100406/f79ea352/attachment-0002.html
More information about the jsr-314-open-mirror
mailing list