Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-5050

seam:fragment doesn't skip rendering ui:include when seam:fragment rendered attribute is false

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.3.0.Final
    • Fix Version/s: None
    • Component/s: JSF Integration
    • Labels:
      None

      Description

      seam:fragment doesn't skip rendering ui:include when seam:fragment rendered attribute is false

      <seam:fragment rendered="#

      {false}

      ">
      <ui:include src="myPage.xhtml" />
      </seam:fragment>

      normally nothing should be initialized related with myPage.xhtml bu all beans are initialized. In seam 2.2.2.Final this works as expected

      simple workaround is use <c:if> instead of <seam:fragment>

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ulath Murat HAZER
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: