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

Null model for AttributeAppender should not render empty attribute

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 1.5-RC5.1
    • 1.5-RC6
    • wicket

    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. test-WICKET-3884.patch
          2 kB
          Robert McGuinness
        2. attr-modifier-by-identity.patch
          1 kB
          Martin Tzvetanov Grigorov

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: