Re: Use Spring's LocalValidatorFactoryBean

2010-04-09 Thread David Chang
Carlos, thanks for the info. I remember I saw it somewhere but totally forgot this. It worked. Thanks! -David --- On Fri, 4/9/10, Carlos Vara wrote: > From: Carlos Vara > Subject: Re: Use Spring's LocalValidatorFactoryBean > To: users@wicket.apache.org > Date: Friday, April

Re: Use Spring's LocalValidatorFactoryBean

2010-04-09 Thread Carlos Vara
Just a quick check, in case you are using @SpringBean outside of a Wicket component, you have to inject it manually using: InjectorHolder.getInjector().inject(this); On Fri, Apr 9, 2010 at 5:32 PM, David Chang wrote: > I am hoping to use Spring's LocalValidatorFactoryBean and define

Use Spring's LocalValidatorFactoryBean

2010-04-09 Thread David Chang
I am hoping to use Spring's LocalValidatorFactoryBean and define it in a Spring context file as follows: http://www.springframework.org/schema/beans"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xmlns:tx="http://www.springframework.org/sch