|
From: Lieven D. (JIRA) <no...@sp...> - 2008-10-09 20:39:25
|
[ http://jira.springframework.org/browse/RCP-99?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lieven Doclo updated RCP-99:
----------------------------
Fix Version/s: 1.x
> Multiple resource base path for images
> --------------------------------------
>
> Key: RCP-99
> URL: http://jira.springframework.org/browse/RCP-99
> Project: Spring Framework Rich Client Project
> Issue Type: Improvement
> Environment: java 1.4.2, Suse 9.2
> Reporter: Thomas Corbin
> Assignee: Geoffrey De Smet
> Priority: Minor
> Fix For: 1.x
>
> Attachments: ResourceMapFactoryBean.java
>
>
> I have icons in multiple jar files and would like to avoid having to put them all in one jar file. So, I need to specify multiple resourceBasePath properties somehow.
>
> I would kind of like something like this:
> <bean id="imageResourcesFactory"
> class="org.springframework.context.support.ResourceMapFactoryBean">
> <property name="locations">
> <list>
> <value>classpath:org/springframework/richclient/image/images.properties</value>
> <value>classpath:com/coned/config/images.properties</value>
> </list>
> </property>
>
> <property name="resourceBasePath">
> <list>
> <value>com/coned/images/</value>
> <value>incorsIcons/</value>
> </list>
> </property>
> </bean>
> Note the <list> item for the resourceBasePath. I envision a search through the base paths, until an image is found. Maybe some debug logging just in case there's the same icon in multiple paths and the programmer is getting confused.
> Thanks.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.springframework.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
|