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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user


-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to