You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Matej Knopp (JIRA)" <ji...@apache.org> on 2007/05/12 15:32:15 UTC

[jira] Resolved: (WICKET-491) problem with browser back-button and links after ajax replace

     [ https://issues.apache.org/jira/browse/WICKET-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matej Knopp resolved WICKET-491.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.3

Works well with latest wicket

> problem with browser back-button and links after ajax replace
> -------------------------------------------------------------
>
>                 Key: WICKET-491
>                 URL: https://issues.apache.org/jira/browse/WICKET-491
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3
>            Reporter: Peter Thomas
>         Assigned To: Matej Knopp
>             Fix For: 1.3
>
>         Attachments: test-quickstart.zip
>
>
> I'm having this problem when I back-button to a page with a panel that replaced itself with another panel containing a link - and re-try the link:
> WicketMessage: Method onLinkClicked of interface org.apache.wicket.markup.html.link.ILinkListener targeted at component [MarkupContainer [Component id = link, page = test.HomePage, path = 0:panel:link.FirstPanel$1, isVisible = true, isVersioned = true]] threw an exception
> Root cause:
> java.lang.IllegalArgumentException: object is not an instance of declaring class
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39)
> at java.lang.reflect.Method.invoke(Method.java:585)
> at org.apache.wicket.RequestListenerInterface.invoke(RequestListenerInterface.java:186)
> at org.apache.wicket.request.target.component.listener.ListenerInterfaceRequestTarget.processEvents (ListenerInterfaceRequestTarget.java:73)
> at org.apache.wicket.request.AbstractRequestCycleProcessor.processEvents(AbstractRequestCycleProcessor.java:90)
> at org.apache.wicket.RequestCycle.processEventsAndRespond (RequestCycle.java:975)
> at org.apache.wicket.RequestCycle.step(RequestCycle.java:1048)
> at org.apache.wicket.RequestCycle.steps(RequestCycle.java:1127)
> at org.apache.wicket.RequestCycle.request(RequestCycle.java :489)
> at org.apache.wicket.protocol.http.WicketFilter.doGet(WicketFilter.java:248)
> I'm attaching a quickstart.

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