> Does it work with the StripesResources.properties?
> I guess if I place the file out of classpath, Stripes'
> DefaultLocalizationBundleFactory wouldn't find it.
> Or am I missing something?
If you are using Spring you could define a reloadable message bundle bean in
your applicationContext.xml
<!-- Messages to reload -->
<bean id="messages"
class="org.springframework.context.support.ReloadableResourceBundleMessageSource">
<property name="basename"
value="/WEB-INF/classes/StripesResources"/>
<property name="cacheSeconds" value="1"/>
<property name="useCodeAsDefaultMessage" value="true"></property>
</bean>
Now you would need to write a custom JSP tag/function that uses the above
bundle.
Florian
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users