Wicket
  1. Wicket
  2. WICKET-5061

EnclosureHandler ignores wicket:xyz elements as children

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 6.6.0
    • Fix Version/s: 6.7.0
    • Component/s: wicket
    • Labels:
      None

      Description

      This doesn't work now:
      <wicket:enclosure>
      <wicket:container wicket:id="id" />
      </wicket:enclosure>

      because EnclosureHandler ignores wicket tags when it looks for children. I don't know what the rational was when doing this.

      I'll attach a proposed patch with a new testcase. It changes the current logic how to look for children. This may contain errors or may otherwise not be a good idea. Nonetheless all tests succeed and it works within my applications.

      1. WICKET-5061.patch
        4 kB
        Christoph Leiter

        Activity

        Martin Grigorov made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Assignee Martin Grigorov [ mgrigorov ]
        Fix Version/s 6.7.0 [ 12323964 ]
        Resolution Fixed [ 1 ]
        Martin Grigorov made changes -
        Summary EnclosureHandler ignores wicket tags EnclosureHandler ignores wicket:xyz elements as children
        Christoph Leiter made changes -
        Field Original Value New Value
        Attachment WICKET-5061.patch [ 12571182 ]
        Christoph Leiter created issue -

          People

          • Assignee:
            Martin Grigorov
            Reporter:
            Christoph Leiter
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development