Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-3106

Resources not loaded when using a dynamic ui:inlclude and rendered via ajax

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 2.0.4
    • 2.0.10, 2.1.4
    • None
    • None
    • Windows 7, JBoss AS 6, Richfaces 4.0.0 Final, JSF2

    Description

      I'm migrating my project from JSF 1.2 to JSF2 and I was using a <ui:include src="#

      {guiMB.viewID}

      " /> tag wrapped in a <a4j:outputPanel> tag (from RichFaces) and rendering the a4j:outputPanel via ajax. However in JSF2 this doesn't load the resources for the page i'm including.

      So anything i include dynamically like this doesn't have any of the styling or javascript that should be loaded with it.

      I have created a test project which demonstrates the issue so i'll attach for you to replicate the issue.

      Attachments

        1. Test.war
          5.81 MB
          Luciano Deriu

        Issue Links

          Activity

            People

              lu4242 Leonardo Uribe
              lucianoderiu Luciano Deriu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: