[ http://issues.apache.org/jira/browse/WICKET-154?page=all ]

Eelco Hillenius reassigned WICKET-154:
--------------------------------------

    Assignee: Eelco Hillenius

> Access to init parameters through getServletContext.getInitParameter() not 
> working
> ----------------------------------------------------------------------------------
>
>                 Key: WICKET-154
>                 URL: http://issues.apache.org/jira/browse/WICKET-154
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 2.0
>         Environment: Windows 2000 SP4
> Tomcat 5.5
>            Reporter: Tristan Weil
>         Assigned To: Eelco Hillenius
>
> 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");

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to