Tapestry
  1. Tapestry
  2. TAPESTRY-1431

Changing org.apache.tapestry.renderTags config property breaks Exception page

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1.1
    • Fix Version/s: 4.1.6
    • Component/s: Core Components
    • Labels:
      None

      Description

      The default value of org.apache.tapestry.renderTags is true in version 4.1.1. If you change it to false, the Exception page formatting is messed up. There should be a way to set renderTags to false at the application or library level without affecting the built-in Tapestry components or other libraries. Without this ability, changing the renderTags value is far less useful.

        Activity

        Hide
        Andreas Andreou added a comment -

        fixed by specifying renderTag in the components used by the default Exception page

        Show
        Andreas Andreou added a comment - fixed by specifying renderTag in the components used by the default Exception page
        Hide
        Robert J. Walker added a comment -

        So are we saying here that the official solution for making your components portable is to treat the renderTag attribute as if it were required, not optional? Or are there plans to be able to specify a renderTag value at the application or library level?

        Show
        Robert J. Walker added a comment - So are we saying here that the official solution for making your components portable is to treat the renderTag attribute as if it were required, not optional? Or are there plans to be able to specify a renderTag value at the application or library level?
        Hide
        Andreas Andreou added a comment -

        Please open up a new issue requesting org.apache.tapestry.renderTags to be set at the library level.

        I know it's possible to do this without any internal changes to Tapestry - an IComponentVisitor can be registered to do the job.

        I'm just pondering if this should go into tapestry core and if it should be on by default...

        Show
        Andreas Andreou added a comment - Please open up a new issue requesting org.apache.tapestry.renderTags to be set at the library level. I know it's possible to do this without any internal changes to Tapestry - an IComponentVisitor can be registered to do the job. I'm just pondering if this should go into tapestry core and if it should be on by default...
        Show
        Robert J. Walker added a comment - Here you go: https://issues.apache.org/jira/browse/TAPESTRY-2154

          People

          • Assignee:
            Andreas Andreou
            Reporter:
            Robert J. Walker
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development