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

llegalStateException when refreshing a WebMarkupContainer containing a AjaxFallbackDefaultDataTable with one of the columns is a AjaxEditableLabel which refreshes the markup container on submit

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.3
    • Fix Version/s: 1.3.3
    • Component/s: wicket
    • Labels:
      None
    • Environment:
      Same behaviour on windows XP & macosx 10.5

      Description

      llegalStateException when refreshing a WebMarkupContainer containing a AjaxFallbackDefaultDataTable where one of the columns is a AjaxEditableLabel which refreshes the markup container on submit

      Attached is the html + page + component to recreate the issue.

      Stack Trace as follows:
      java.lang.IllegalStateException: No Page found for component [MarkupContainer [Component id = cell, page = <No Page>, path = 1:cells:5:cell.QuantityLabel]]
      at org.apache.wicket.Component.getPage(Component.java:1658)
      at org.apache.wicket.ajax.AjaxRequestTarget.respondComponent(AjaxRequestTarget.java:689)
      at org.apache.wicket.ajax.AjaxRequestTarget.respondComponents(AjaxRequestTarget.java:605)
      at org.apache.wicket.ajax.AjaxRequestTarget.respond(AjaxRequestTarget.java:520)
      at org.apache.wicket.request.AbstractRequestCycleProcessor.respond(AbstractRequestCycleProcessor.java:104)
      at org.apache.wicket.RequestCycle.processEventsAndRespond(RequestCycle.java:1172)
      at org.apache.wicket.RequestCycle.step(RequestCycle.java:1243)
      at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1331)
      at org.apache.wicket.RequestCycle.request(RequestCycle.java:493)
      at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:363)
      at org.apache.wicket.protocol.http.WicketServlet.doGet(WicketServlet.java:124)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:690)

        Attachments

        1. TestAjaxDataTable.html
          0.3 kB
          Eric Gulatee
        2. TestAjaxDataTable.java
          4 kB
          Eric Gulatee

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              eric.gulatee@gmail.com Eric Gulatee
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: