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: ?xml version=1.0 encoding=UTF-8? beans xmlns=http://www.springframework.org/schema/beans; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:tx=http://www.springframework.org/schema

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 david_q_zh...@yahoo.com wrote: I am hoping to use Spring's LocalValidatorFactoryBean

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 bashfl...@gmail.com wrote: From: Carlos Vara bashfl...@gmail.com Subject: Re: Use Spring's LocalValidatorFactoryBean To: users@wicket.apache.org Date