Wicket
  1. Wicket
  2. WICKET-4545

MarkupNotFoundException for Fragment and TransparentWebMarkupContainer

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5.6
    • Fix Version/s: 6.16.0, 7.0.0-M2
    • Component/s: wicket
    • Labels:
      None

      Description

      Create a base WebPage with a TransparentWebMarkupContainer to allow subclasses register CSS classes on the body tag. Add a Fragment to one of these subsclasses, the markup of the Fragment is not found.
      See also http://apache-wicket.1842946.n4.nabble.com/MarkupNotFoundException-for-Fragment-and-TransparentWebMarkupContainer-tp4619968.html

      Exception thrown:

      org.apache.wicket.markup.MarkupNotFoundException: No Markup found for Fragment testFragment in providing markup container [Page class = org.foo.HomePage, id = 0, render count = 1]
      at org.apache.wicket.markup.html.panel.FragmentMarkupSourcingStrategy.getMarkup(FragmentMarkupSourcingStrategy.java:143)

      1. quickstart.zip
        25 kB
        Dirk Forchel

        Issue Links

          Activity

          Dirk Forchel created issue -
          Dirk Forchel made changes -
          Field Original Value New Value
          Attachment quickstart.zip [ 12526145 ]
          Martin Grigorov made changes -
          Link This issue is duplicated by WICKET-4654 [ WICKET-4654 ]
          Martin Grigorov made changes -
          Link This issue is duplicated by WICKET-5440 [ WICKET-5440 ]
          Martin Grigorov made changes -
          Link This issue relates to WICKET-5580 [ WICKET-5580 ]
          Martin Grigorov made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Assignee Martin Grigorov [ mgrigorov ]
          Fix Version/s 6.16.0 [ 12326770 ]
          Fix Version/s 7.0.0-M2 [ 12326800 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Martin Grigorov
              Reporter:
              Dirk Forchel
            • Votes:
              3 Vote for this issue
              Watchers:
              10 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development