|
From: Steven D. <ste...@gm...> - 2005-08-10 00:31:30
|
Micheal, You can put an & in front of the bean name of ValangValidatorFactoryBean in the ref element to get the factory. See here for more details: http://static.springframework.org/spring/docs/1.2.x/reference/beans.html#d0= e1686 Steven On 7/27/05, Michael E. Moores <mm...@re...> wrote: > thanks. that is very helpful. > my only problem left is that I can't set up a ValangValidatorFactoryBean > as a bean property of type FactoryBean. > org.springframework.beans.TypeMismatchException: Failed to convert > property value of type > [org.springmodules.validation.ValangValidatorFactoryBean$1] to required > type [org.springframework.beans.factory.FactoryBean] for property > 'chargeValidatorFactory' >=20 > Steven Devijver wrote: >=20 > > Did you already have a look at the language document on the Spring wiki= ? > > > > http://opensource.atlassian.com/confluence/spring/display/MODULES/Using= +Valang+validator > > > > Steven > > > > On 7/27/05, *Michael E. Moores* <mm...@re... > > <mailto:mm...@re...>> wrote: > > > > nice work, i have been looking at the language. > > when Valang moves out of the sandbox, will there be a bit more java= doc > > and (va)language "specs"? > > if i use this, my peers need to be confident we can fix problems > > and/or > > extend it. > > > > Steven Devijver wrote: > > > > >Micheal, > > > > > >Thanks for spotting this, I've checked in the updated class. > > > > > >Steven > > > > > >On 7/26/05, Michael E. Moores < mm...@re... > > <mailto:mm...@re...>> wrote: > > > > > > > > >>I checked out springmodules from cvs.dev.java.net > > <http://cvs.dev.java.net> and > > >>attempted to build the sandbox jar with "ant sandbox.jar ": > > >> > > >> [javac] > > >>/home/mmoores/download/springmodulessandbox/springmodules/sandbox= /src/org/springmodules/beans/factory/bfl/parser/BeanFactoryLanguageParser.j= ava:171: > > >><anonymous > > >>org.springmodules.beans.factory.bfl.parser.BeanFactoryLanguagePar= ser$6> > > >>is not abstract and does not override abstract method > > >>setFactoryMethod(java.lang.String) in > > >>org.springmodules.beans.factory.drivers.Bean > > >> [javac] public void setAutowire(Strin= g > > >>autowire) { > > >> [javac] ^ > > >> [javac] Note: * uses or overrides a deprecated API. > > >> [javac] Note: Recompile with -Xlint:deprecation for details. > > >> [javac] 1 error > > >> [javac] 8 warnings > > >> > > >>BUILD FAILED > > >> > > >> > > >> > > >>------------------------------------------------------- > > >>SF.Net email is sponsored by: Discover Easy Linux Migration > > Strategies > > >>from IBM. Find simple to follow Roadmaps, straightforward article= s, > > >>informative Webcasts and more! Get everything you need to get up = to > > >>speed, fast. > > http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclick > > <http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclick> > > >>_______________________________________________ > > >>Springframework-developer mailing list > > >>Spr...@li... > > <mailto:Spr...@li...> > > >>https://lists.sourceforge.net/lists/listinfo/springframework-deve= loper > > >> > > >> > > >> > > >> > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > SF.Net email is sponsored by: Discover Easy Linux Migration Strateg= ies > > from IBM. Find simple to follow Roadmaps, straightforward articles, > > informative Webcasts and more! Get everything you need to get up to > > speed, fast. > > http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclick > > <http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclick> > > _______________________________________________ > > Springframework-developer mailing list > > Spr...@li... > > <mailto:Spr...@li...> > > https://lists.sourceforge.net/lists/listinfo/springframework-develo= per > > > > > > > > > > -- > > "If you want to be a different fish, you gotta jump out of the school." > > -- Captain Beefheart >=20 >=20 >=20 > ------------------------------------------------------- > SF.Net email is sponsored by: Discover Easy Linux Migration Strategies > from IBM. Find simple to follow Roadmaps, straightforward articles, > informative Webcasts and more! Get everything you need to get up to > speed, fast. http://ads.osdn.com/?ad_id=3D7477&alloc_id=3D16492&op=3Dclic= k > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer >=20 >=20 --=20 "If you want to be a different fish, you gotta jump out of the school." -- Captain Beefheart |