javaserverfaces
  1. javaserverfaces
  2. JAVASERVERFACES-2738

Facelet XHTML loading is broken - still worked with 2.2.0-m08

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 2.2.0-m09
    • Fix Version/s: 2.1.20, 2.2.0-m10
    • Component/s: None
    • Labels:
      None

      Description

      To define the general layout we use Facelet tags implemented as XHTML using multiple levels of ui:composition/ui:decorate template="some/template.xhtml" and deliver that as a packaged jar to the applications.

      Since JSF 2.2.0-m09 this does not work anymore, with 2.2.0-m08 it still works. The templates referenced from XHTML Facelet component packaged into a jar cannot be resolved anymore. I get the following exception report:

      message /file:/C:/cs/ws4/mojarra_trunk/.metadata/.plugins/org.eclipse.wst.server.core/tmp0/wtpwebapps/webapp/WEB-INF/lib/component-lib-0.0.1-SNAPSHOT.jar!/facelet/tag/layout.xhtml @16,50 <ui:decorate template="template/webapp.xhtml"> Invalid path : template/webapp.xhtml
      
      description The server encountered an internal error that prevented it from fulfilling this request.
      

      To investigate and fix the problem I developed a small reproducer application which I will attach to this issue.

        Issue Links

          Activity

            People

            • Assignee:
              Manfred Riem
              Reporter:
              Hanspeter Duennenberger
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: