Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-1555

Pages / Components do not render correctly when the root component of the template is a tapestry component

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 5.0, 5.0.3, 5.0.4
    • None
    • tapestry-core
    • None

    Description

      A page / component with the following template

      <t:if test="false" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
      BODY
      </t:if>

      raises an exception "No root element has been defined."

      A page / component with the following template

      <t:if test="false" xmlns:t="http://tapestry.apache.org/schema/tapestry_5_0_0.xsd">
      BODY
      </t:if>

      does not render its BODY.

      I think this is a general problem, because I also tried with component written by me (even with empty class and no template) and got the same results.

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            kalin.krustev@gmail.com Kalin Krustev
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: