that should still work.


On Jan 21, 2008 4:42 PM, Ayodeji Aladejebi <[EMAIL PROTECTED]> wrote:

> Well, I have started migrating some code to 1.3, however i had some
> STOP-AND-CONFIRM situation
>
> In 1.2.x
>
> ServletContext context = Application.getWicketServlet
> ().getServletContext()
> ?
>
> doSomethingWithContext(context);
>
> Migrating to 1.3.x
>
> ServletContext context =
> Application.getWicketFilter().getFilterConfig().getServletContext()
> ?
>
> doSomethingWithContext(context);
>
>
> I guess by doing this, my previous code wont break, even though there is
> no
> WicketServlet configured in my web.xml?
>
> Or must I configure a WicketServlet to be able to do this
>
> thanks
>

t

Reply via email to