Uploaded image for project: 'MyFaces Tobago'
  1. MyFaces Tobago
  2. TOBAGO-1721

Optimize HTML output when two renderer are involved

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.0.3
    • 4.0.0
    • Core
    • None

    Description

      A renderer produce HTML code without consider the environment.

      For example:
      The InRenderer always generate a <span/> around children.
      If a button has children, the ButtonRenderer always generate a <span/> element around the button and its children.
      So if a <tc:button> is inside a <tc:in>, two <span/> elements would be generated.

      In this case, the renderer should work together, to only generate one <span> element.

      The generated code is more compact.
      It's more the way of bootstrap.
      And because of that, there are less problems to solve with CSS.

      Attachments

        Issue Links

          Activity

            People

              hnoeth Henning Nöth
              hnoeth Henning Nöth
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: