Leonardo,
The URL, bundle://636.3:0/helloWorld.xhtml, passed to MyFaces is the same in
v2.1.x and 2.2.x, so it appears the default resource resolver has changed in
its support OSGi Resource URLs.
Is there a ResourceResolver included in MyFaces that will properly resolve URL
above?
If not,
The log entries below are from MyFaces 2.1.15 and 2.2.4, so is this a
regression bug?
***
* MyFaces 2.1.15
***
2014-09-06 05:16:40,601 | TRACE | qtp195585050-76 |
FaceletViewDeclarationLanguage | 640 - org.apache.myfaces.core.impl - 2.1.15
| Initializing
2014-09-06 05:16:40,657 | DEBUG |
Hi
The line that throw the exception has this code:
String alias = / + _removeFirst(url.getFile(), getBaseUrl().getFile());
the base url is (/), so probably it is resolved as null. This reference
is taken through ResourceResolver, so a custom implementation could fix the
issue.
regards,
I am getting the following exception when browsing to a JSF page when using
MyFaces 2.2.4 and Karaf 3.0.1. No exception is thrown when using MyFaces
2.1.15 and the page displays as expected. The only difference is which version
of myfaces-api and myfaces-impl are installed.
I suspect
I enabled TRACE logging to provide more information. Notice the URL starts used
to create the facelet.
2014-09-05 19:59:31,889 | TRACE | qtp2017355996-82 |
FaceletViewDeclarationLanguage | 638 - org.apache.myfaces.core.impl - 2.2.4 |
Initializing
2014-09-05 19:59:31,919 | DEBUG |
5 matches
Mail list logo