[seam-issues] [JBoss JIRA] Created: (JBSEAM-4720) facelets.RESOURCE_RESOLVER parameter in web.xml is ignored in org.jboss.seam.ui.facelet.RendererRequest

Rotciv Arabadzhi (JIRA) jira-events at lists.jboss.org
Fri Oct 22 04:56:01 EDT 2010


facelets.RESOURCE_RESOLVER parameter in web.xml is ignored in org.jboss.seam.ui.facelet.RendererRequest
-------------------------------------------------------------------------------------------------------

                 Key: JBSEAM-4720
                 URL: https://jira.jboss.org/browse/JBSEAM-4720
             Project: Seam
          Issue Type: Bug
    Affects Versions: 2.2.1.CR2, 2.2.1.CR1, 2.2.0.GA
            Reporter: Rotciv Arabadzhi


org.jboss.seam.ui.facelet.RendererRequest is hardcoded to use DefaultResourceResolver to obtain Facelets instead of the ResourceResolver passed in facelets.RESOURCE_RESOLVER context parameter which is passed via web.xml

Below is a code excerpt from org.jboss.seam.ui.facelet.RendererRequest 

protected Facelet faceletForViewId(String viewId) throws IOException
   {
      URL url = ResourceLoader.instance().getResource(viewId);
      if (url == null)
      {
         throw new IllegalArgumentException("resource doesn't exist: " + viewId);
      }
      return new DefaultFaceletFactory(FaceletCompiler.instance(), new DefaultResourceResolver())
               .getFacelet(url);
   }
 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the seam-issues mailing list