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

wicket:message sometimes broken

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.3.5
    • 1.3.6, 1.4-RC2
    • wicket
    • None
    • Wicket 1.3.5, tomcat 5.5, but should have the same behavior with any container

    Description

      The behavior described here: http://cwiki.apache.org/WICKET/wickets-xhtml-tags.html (use wicket:message as attribute) sometimes doesn't work, depending on the hierarchy and the tag where it applies.

      I've reproduced it using a repeater and applying wicket:message it to a <td> tag.

      Instead of correctly modifying the attribute, it throws the usual MarkupException "WicketMessage: Unable to find component with id 'label' in [MarkupContainer"

      Attachments

        1. WicketMessage.zip
          1.82 MB
          Piller Sébastien

        Activity

          People

            ivaynberg Igor Vaynberg
            pills Piller Sébastien
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: