|
From: Colin S. <col...@ex...> - 2003-11-26 17:06:48
|
Thanks. I guess the contained list is going to come in just as a ManagedList instance. I think I'm still going to have to do some additional work in MethodInvokingFactoryBean to coerce that passed in ManagedList to the target method argument type. jürgen höller [werk3AT] wrote: >This is actually pretty simple: We just need to allow for <list> (and <map>) as sub-element of <list> in the DTD - the bean factory can already handle any kind of nested element! I've just patched the DTD accordingly and committed it; a corresponding unit test passes (not committed yet due to other work). > >Juergen > > >-----Original Message----- >From: spr...@li... >[mailto:spr...@li...]On Behalf >Of Colin Sampaleanu >Sent: Wednesday, November 26, 2003 5:15 PM >To: spr...@li... >Subject: [Springframework-developer] How hard is is to add support for >list inside of a list, in an XML beanfactory def? > > >Right now in a bean factory xml definition, a list can not contain a >list. Can somebody who is more familiar with the bean wrapping estimate >how big a deal this would be to add? > >The issue comes in using the MethodInvokingFactoryBean to invoke a >method which takes an array or list as an argument. Right now there is >no way to do it unfortunately. > > |