[ http://issues.apache.org/jira/browse/BEEHIVE-121?page=all ] Kenneth Tam resolved BEEHIVE-121: ---------------------------------
Resolution: Fixed Fixed as of rev 164694. ServletBeanContext now implements BeanContext's getResource and getResourceAsStream via the underyling ServletContext's APIs. > ServletBeanContext should expose ServletContext resources directly. > ------------------------------------------------------------------- > > Key: BEEHIVE-121 > URL: http://issues.apache.org/jira/browse/BEEHIVE-121 > Project: Beehive > Type: Improvement > Components: Controls > Versions: V1Beta > Reporter: Jonathan Colwell > Assignee: Kenneth Tam > Priority: Minor > Fix For: V1 > > ControlContainerContext should provide a getResource method that delegates to > parent containers until a Context that is able to provide resources is found. > For example, the ServletBeanContext would expose the getResource method from > the ServletContext directly rather than requiring an individual control > implementation to know it runs in a servlet context and call > getService(ServletContext.class, null); > on an instance of ControlBeanContext to load a resource from the context. -- 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