You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2010/08/15 20:07:15 UTC

[jira] Resolved: (WICKET-2989) Add IRequestMapper that can mount all pages in a package

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

Martin Grigorov resolved WICKET-2989.
-------------------------------------

    Fix Version/s:     (was: 1.5-M2)
       Resolution: Not A Problem

It appears that this is actually supported out of the box thru org.apache.wicket.request.mapper.BookmarkableMapper which is added by default.
This mapper creates something like REST API for all classes in the application.
I.e. if there is a Page class com.example.MyPage then it is reachable at http://localhost:8080/wicket/bookmarkable/com.example.MyPage.
It has a bug currently that it tries to create a page even for classes which do not extend Page - WICKET-2993.

> Add IRequestMapper that can mount all pages in a package
> --------------------------------------------------------
>
>                 Key: WICKET-2989
>                 URL: https://issues.apache.org/jira/browse/WICKET-2989
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M1
>         Environment: Any
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>
> In Wicket 1.4 it is possible to mount all pages in a package via org.apache.wicket.protocol.http.WebApplication.mount(String, PackageName).
> Currently there is no replacement for this functionality in Wicket 1.5

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