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

Null model for AttributeAppender should not render empty attribute

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment