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

wicket:fragment tag not handled properly when used with markup inheritance

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.0 branch (discontinued)
    • 2.0 branch (discontinued)
    • wicket
    • None

    Description

      there is a problem when handling wicket:fragment tags that are defined within wicket:extend tags.

      the problem is in InheritedMarkupMarkupLoader:441

      what happens is that first WicketTagIdentified properly assigns tag.id to be the wicket:id defined within the fragment tag
      but then the InheritedMarkupMarkupLoader visits the fragment and resets its tag.id to an autogenerated id

      when rendering occurs markupfragment cannot find the markup of the fragment because its tag.id has been changed

      Attachments

        Activity

          People

            jdonnerstag Juegen Donnerstag
            ivaynberg Igor Vaynberg
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: