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

<wicket:enclosure child="xxx"> bug when located as first level son of a non transparent border

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.3.4
    • wicket
    • None

    Description

      I can't tell since extacly for which version this does not work, or if it's a long time bug, but it does not work the current trunk (27 nov 2007).

      Example markup :
      <!-- This is a non transparent border -->
      <span wicket:id="actionsBorder">
      <wicket:enclosure child="newLink">
      <div class="action">
      <a wicket:id="newLink"><img wicket:id="newButton" /></a>
      </div>
      </wicket:enclosure>
      </span>

      always throws a MarkupException during onComponentTagBody method of Enclosure class.

      It seems that the child lookup based on the 'child' parameter of the Enclosure tag is erroneous : when it asks its parent to resolve the component with childId, it only finds the Enclosure element, thus failing to locate the child BELOW enclosure.

      Attachments

        Activity

          People

            ivaynberg Igor Vaynberg
            aangenieux Antoine Angénieux
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: