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

Label associated with an open/close tag should still work

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0-beta3
    • 1.3.0-beta4
    • wicket
    • None

    Description

      I think this is one of the most common gotcha's in Wicket: a Label associated with an open/close tag like <span/> will silently output nothing. As I really can't think of a use case when this behavior is the desired behavior (wanting the Label to output nothing?), I'd suggest that either change it to <span></span> or simply throw an exception or log a warning.

      Attachments

        Activity

          People

            ivaynberg Igor Vaynberg
            freemant Kent Tong
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: