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

FragmentMarkupSourcingStrategy doesn't see fragment markup which is declared in subclassed panel.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 1.5.7
    • None
    • wicket
    • None
    • Ubuntu 12.04 x64
      JDK 1.6.0_30

    Description

      Steps to reproduce:

      • Create class ParentPanel extending Panel
      • Create class ChildPanel extending ParentPanel
      • Create fragment in ChildPanel
      • launch app
        Result:
        MarkupNotFoundException: No Markup found for Fragment fragmentDef in providing markup container

      Sample app attached.

      Attachments

        1. FixedFragmennt.zip
          3 kB
          Anton
        2. FragmentInInheritedPanel.zip
          7 kB
          Anton

        Issue Links

          Activity

            People

              Unassigned Unassigned
              apechinsky Anton
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: