the only thing that comes to mind is salve Martijn
On Mon, Mar 30, 2009 at 2:03 PM, Adriano dos Santos Fernandes <[email protected]> wrote: > Hi! > > I've this, on my Application class: > > getSharedResources().add(name, new WebResource() { > private static final long serialVersionUID = 1L; > > @Override > public IResourceStream getResourceStream() > { > return new AbstractResourceStream() { > private static final long serialVersionUID = 1L; > private @Inject TerceiroService service; > > { > componentInjector.inject(this); > } > > ... > > Would be there a nicer way to inject service in this case? > > > Adriano > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.5 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
