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

bernard commented on WICKET-4087:
---------------------------------

Thanks Emond for the NullVersionMountedMapper workaround posted in 
[email protected]. I leave it to the developers to comment on it:

    public Url mapHandler(IRequestHandler requestHandler) {
      if (requestHandler instanceof ListenerInterfaceRequestHandler)
        return null;
      return super.mapHandler(requestHandler);
    }   

                
> Page Reload on Submit of non-versioned Page
> -------------------------------------------
>
>                 Key: WICKET-4087
>                 URL: https://issues.apache.org/jira/browse/WICKET-4087
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.0
>         Environment: Wicket version: 1.5
> java version "1.6.0_25"
> Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
> Java HotSpot(TM) Client VM (build 20.0-b11, mixed mode, sharing)
> Server: GlassFish 3.1.1
>            Reporter: bernard
>         Attachments: NoVersionQuickStart.zip
>
>
> A custom MountedMapper extension is used to support a non-versioned page. 
> This works in 1.5 but not in snapshots after 1.5.
> A corresponding solution works in 1.4 also.
> The attached quickstart works with mountPage(...) but it fails with the 
> custom mapper.
> The page gets reconstructed, and even with an AJAX request, the whole page is 
> re-loaded with user input wiped out.
> I am only guessing here, but I think it would be good if, in case there is no 
> version in the page URL, Wicket knows how to fetch the only version that 
> should exist for this page.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to