commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Emmanuel Bourg <>
Subject [configuration] Disabling property splitting
Date Tue, 13 Jan 2004 16:16:19 GMT
I've been playing a bit with the Struts MessageResources lately, I'm 
trying to use a Configuration as the underlying structure for storing 
internationalized messages. This brings 2 interesting improvements, 
interpolation and automatic reloading when it's committed.

However I stumbled on a issue with the current implementation, strings 
are always considered as comma separated values and splitted into a 
List. This behavior isn't desirable for a resource file with several 
sentences, or even for a common configuration file storing a number 
format like "###,##0.00".

That's why I'm suggesting an additional flag enabling or disabling 
property splitting, it would be enabled by default. I'm attaching a 
patch implementing this idea.

Emmanuel Bourg

View raw message