Thanks, it works!
igor.vaynberg wrote: > > it will only work for subclasses of component > > if you want to inject something else you have to do it manually via > injectorholder.getinjector().inject(this) in the constructor > > -igor > > On Thu, Aug 28, 2008 at 5:10 AM, btakacs <[EMAIL PROTECTED]> wrote: >> >> I used addComponentInstantiationListener(new >> JavaEEComponentInjector(this)); >> in the Application init method. Why doesn't it work for a ResourceLoader? >> >> >> btakacs wrote: >>> >>> Hi >>> >>> I started to use wicket-contrib-javaee, and it is working for pages and >>> models (I injected the listener into the Application file). But I would >>> like to use EJB in a ResourceLoader too. >>> >>> In the project home page i did not found anything about that. >>> http://wicketstuff.org/confluence/display/STUFFWIKI/wicket-contrib-javaee >>> >>> Do I need to lookup manually are there any more elegant solution for >>> that? >>> >>> Any Tips? >>> >>> Thanks: >>> Bence >>> >> >> -- >> View this message in context: >> http://www.nabble.com/EJB-usage-in-ResourceLoader-tp19198798p19199250.html >> Sent from the Wicket - User mailing list archive at Nabble.com. >> >> >> --------------------------------------------------------------------- >> To unsubscribe, e-mail: [EMAIL PROTECTED] >> For additional commands, e-mail: [EMAIL PROTECTED] >> >> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/EJB-usage-in-ResourceLoader-tp19198798p19221022.html Sent from the Wicket - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
