Details
-
Improvement
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.5.4, 6.0.0-beta1
-
None
Description
Since servlet 3.0 web applications can be set up completely in code.
To support this kind of setup wicket should
- support the manual assignment of an web application instance to WicketFilter
- support setting the runtime configuration type in WebApplication programmtically through a setter instead of reading web.xml
sample code for demonstrating the use case:
public class AppContextListener implements ServletContextListener
{
private GuiceContext guiceContext;
@Override
public void contextInitialized(ServletContextEvent sce)
// ...
}