Re: Tip:ServletContext from WicketFilter
thanks, works great! On 1/21/08, Igor Vaynberg [EMAIL PROTECTED] wrote: there is a webapplication.getservletcontext(). -igor On Jan 21, 2008 7:42 AM, 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Tip:ServletContext from WicketFilter
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
Re: Tip:ServletContext from WicketFilter
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
Re: Tip:ServletContext from WicketFilter
there is a webapplication.getservletcontext(). -igor On Jan 21, 2008 7:42 AM, 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 - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]