I created an issue in JIRA:

https://issues.apache.org/jira/browse/WICKET-295


On 2/16/07, Johan Compagner <[EMAIL PROTECTED]> wrote:

i guess we only need to extend wicketfilter and do this:

protected final IWebApplicationFactory getApplicationFactory()
    {
        return new IWebApplicationFactory(){

            public WebApplication createApplication(WicketServlet servlet)

            {
                return new WebApplication(){

                    public Class getHomePage()
                    {
                        return AccessDeniedPage.class;
                    }
                };
            }

            public WebApplication createApplication(WicketFilter filter)
            {
                return new WebApplication(){

                    public Class getHomePage()
                    {
                        return AccessDeniedPage.class;
                    }
                };
            }
        };
    }

that does look simple

johan


On 2/16/07, Sean Sullivan <[EMAIL PROTECTED]> wrote:
>
> Are there any plans to convert the WicketPortletServlet to a filter in
> the wicket-1.x branch?
>
>
> 
http://svn.apache.org/viewvc/incubator/wicket/branches/wicket-1.x/wicket/src/main/java/wicket/protocol/http/
> portlet/
>
>
>
>
>
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to