|
From: Drew D. <dr...@og...> - 2004-09-17 04:29:18
|
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 \
+---------------------------------+
|