|
From: bryan <nih...@gm...> - 2004-09-17 12:22:28
|
If you were to do it that way would you still be able to use the properties/preferencesPlaceHolderConfigurer ? Do those properties need to be applied to a complete field ? Would it be possible to set those values at the top of the file like in ant where you can set properties ? How would you load the variables ? A custom PropertyAccessor ? --b On Thu, 16 Sep 2004 21:28:51 -0700, Drew Davidson <dr...@og...> wrote: > bryan wrote: > > >juergen .... you are a legend !!!! > > > >Hey one thing though .. > > > >Would it be possible to allow the user to specify a list like > >so ....... > > > > <import resource="myImport1.xml,myImport2.xml,myImport3.xml"/> > > > >The reason that this would be *super* *super* usefull is because then > >users could store these values in a properties file or in the registry > >using the Preferences API and then use the property placeholder > >configurer to fill in the blanks at runtime. > > > >On other thing ..... if you wanted to be super smart and really show off > >heres a cool feature .... > > > ><beans> > ><if value="test" equals="test"> > > <import resource="myImport1.xml"/> > ></if> > > > > <bean ... /> > > > > > ></beans> > > > > > > Better yet is for me to get myself in gear and start putting OGNL > support into Spring for 1.3. Then it would be: > > <beans> > <if condition="somevalue == 1"> > <import resource="myImport1.xml"/> > </if> > </beans> > > - Drew > > -- > +---------------------------------+ > < Drew Davidson | OGNL Technology > > +---------------------------------+ > | Email: dr...@og... / > | Web: http://www.ognl.org / > | Vox: (520) 531-1966 < > | Fax: (520) 531-1965 \ > | Mobile: (520) 405-2967 \ > +---------------------------------+ > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 > Project Admins to receive an Apple iPod Mini FREE for your judgement on > who ports your project to Linux PPC the best. Sponsored by IBM. > Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php > _______________________________________________ > Springframework-developer mailing list > Spr...@li... > https://lists.sourceforge.net/lists/listinfo/springframework-developer > |