One more thing... In wicket-spring integration package, the following line:
clazz = Class.forName(type); should be replaced with clazz = Class.forName(type, true, Thread.currentThread().getContextClassLoader()); If RFE stands for Request for Enhancement, than please let me know how to file it. Thank you, Alexei --- Johan Compagner <[EMAIL PROTECTED]> wrote: > Make a RFE for this. > > > On 3/29/06, Alexei Sokolov > <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > This is my first post here, so please don't yell > at me > > right away... > > > > Anyway, I was wondering what you think about > changing > > two places in wicket, both related to class > loading. > > > > in ContextParamWebApplicationFactory: > > > > final Class applicationClass = > > getClass().getClassLoader().loadClass( > > applicationClassName); > > > > change to: > > > > final Class applicationClass = > > > Thread.currentThread().getContextClassLoader().loadClass( > > > applicationClassName); > > > > and in DefaultClassResolver: > > > > change: > > return > > > DefaultClassResolver.class.getClassLoader().loadClass(classname); > > > > to: > > return > > > Thread.currentThread().getContextClassLoader().loadClass(classname); > > > > I don't think it'll brake anything in the existing > > apps, but the changes allow for easy integration > with > > OSGi containers. > > > > Alexei > > > > __________________________________________________ > > Do You Yahoo!? > > Tired of spam? Yahoo! Mail has the best spam > protection around > > http://mail.yahoo.com > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a > groundbreaking scripting > > language > > that extends applications into web and mobile > media. Attend the live > > webcast > > and join the prime developer group breaking into > this new coding > > territory! > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > > _______________________________________________ > > Wicket-develop mailing list > > Wicket-develop@lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/wicket-develop > > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Wicket-develop mailing list Wicket-develop@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wicket-develop