Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.0 branch (discontinued)
-
None
-
Windows 2000 SP4
Tomcat 5.5
Description
The command WebApplication.get().getServletContext.getInitParameter("param"); always returns null.
The init parameters can only be accessed with the WicketFilter class. A getter in the WebApplication class on the wicketFilter field could work. The previous command could then be replaced with:
WebApplication.get().getWicketFilter().getFilterConfig().getInitParameter("param");