Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-3884

Null model for AttributeAppender should not render empty attribute

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.5-RC5.1
    • Fix Version/s: 1.5-RC6
    • Component/s: wicket
    • Labels:

      Description

      I can't think of a reason this would be valid, but passing in null model renders <span class="">Test</span>. If previous and new attribute are both null, the component should render cleanly like <span>Test</span>.

        Attachments

        1. attr-modifier-by-identity.patch
          1 kB
          Martin Tzvetanov Grigorov
        2. test-WICKET-3884.patch
          2 kB
          Robert McGuinness

          Activity

            People

            • Assignee:
              mgrigorov Martin Tzvetanov Grigorov
              Reporter:
              robmcguinness Robert McGuinness
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: