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

Ajax refresh fails when a fragment is included in the target

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0-beta2, 1.3.0-beta3
    • 1.3.0-beta3
    • wicket
    • None

    Description

      Attached there is a package to drop into a quickstart project. If contains a panel that is a fragment provider and which also includes an ajax link to refresh the fragment contents. The main page just shows this panel and the provided fragment. Following the link raises the following exception:

      WicketMessage: Unable to find the markup for the component. That may be due to transparent containers or components implementing IComponentResolver: [Component id = fragmentContent, page = web.fragment.Consumer, path = 0:container:fragment:fragmentContent.Label, isVisible = true, isVersioned = true]

      Root cause:

      org.apache.wicket.WicketRuntimeException: Unable to find the markup for the component. That may be due to transparent containers or components implementing IComponentResolver: [Component id = fragmentContent, page = web.fragment.Consumer, path = 0:container:fragment:fragmentContent.Label, isVisible = true, isVersioned = true]
      at org.apache.wicket.MarkupFragmentFinder.find(MarkupFragmentFinder.java:111)
      at org.apache.wicket.Component.locateMarkupStream(Component.java:3274)

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            jdonnerstag Juegen Donnerstag
            memeplex Carlos Pita
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment