[ 
https://issues.apache.org/jira/browse/WICKET-1593?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12599162#action_12599162
 ] 

Eric Gulatee commented on WICKET-1593:
--------------------------------------

Removing the call to super.onSubmit in the overriden onSubmit method resolves 
the issue.

There doesn't seem to be any negative side effects to commentin gout the call 
to parent.onSubmit()


The error message is really hard to follow and misleading.

Especially considering, this is all that is in the AjaxEditableLabel.onSubmit()
label.setVisible(true);
editor.setVisible(false);
target.addComponent(AjaxEditableLabel.this);
target.appendJavascript("window.status='';");


> llegalStateException when refreshing a WebMarkupContainer containing a 
> AjaxFallbackDefaultDataTable with one of the columns is a AjaxEditableLabel 
> which refreshes the markup container on submit
> -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-1593
>                 URL: https://issues.apache.org/jira/browse/WICKET-1593
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.3
>         Environment: Same behaviour on windows XP & macosx 10.5
>            Reporter: Eric Gulatee
>         Attachments: TestAjaxDataTable.html, TestAjaxDataTable.java
>
>
> 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)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to