RE: Spring injecting beans into non-component classes

2008-02-21 Thread Bart Molenkamp
ing another NoClassDefFoundError Exception. > > > > java.lang.NoClassDefFoundError: org/objectweb/asm/Type > > > > I thought I had everything I needed. > > > > wicket-1.3.0.jar > > wicket-spring-1.3.0.jar > > wicket-spring-annot-1.3.0.jar &g

RE: Spring injecting beans into non-component classes

2008-02-19 Thread Bart Molenkamp
> Thanks Igor, the InjectorHolder.getInjector().inject(this); > is what I was > looking for. > > Bart, Could you show me an example of your AbstractInjectableModel? > > Warren > > > -----Original Message- > > From: Bart Molenkamp [mailto:[EMAIL PROTECTED] >

RE: Spring injecting beans into non-component classes

2008-02-19 Thread Bart Molenkamp
I created an AbstractInjectableModel for this. It does dependency injection for models, the same way as in components. Would this be something for in the wicket-spring-annot project? Bart. > -Oorspronkelijk bericht- > Van: Igor Vaynberg [mailto:[EMAIL PROTECTED] > Verzonden: dinsdag 19 f

RE: Component.visitParents visits the calling component as well

2007-12-11 Thread Bart Molenkamp
> component as well > > hm, i dont think it is correct. wondering if we can change it this > late in the game though...open a jira issue please. > > eelco its your baby...is this intentional or is it a bug? > > -igor > > > On Dec 11, 2007 3:22 AM, Bart Molenkamp &g

Component.visitParents visits the calling component as well

2007-12-11 Thread Bart Molenkamp
Hi, I see that Component.visitParents() also visits the component on which the call is made. Is this behavior correct? If so, I think that the method name is a little bit confusing. The method MarkupContainer.visitChildren() doesn't visit the calling component, but only it's children (as the meth

RE: Why is there no IHeaderResponse.renderCSS()?

2007-12-07 Thread Bart Molenkamp
erResponse.renderCSS()? > > Probably just avoiding api clutter. You can always use > IHeaderResponse.renderString. > > -Matej > > On Dec 7, 2007 9:38 AM, Bart Molenkamp > <[EMAIL PROTECTED]> wrote: > > Hi, > > > > Is there a special reason why there is no >

Why is there no IHeaderResponse.renderCSS()?

2007-12-07 Thread Bart Molenkamp
Hi, Is there a special reason why there is no IHeaderResponse.renderCSS() to render a String of CSS inline? There is something similar for JavaScript: renderJavascript(CharSequence javascript, String id); I can only include CSS using ResourceReferences and urls. Is there any reason why this isn