Resource bundles do not work with XML or RDBMs which is very telling IMO. 
Supports my contention that I8N with resource bundles should be renamed 
SteamingResourcePile [audible laughter from crowd]. 

It seems infinitely simpler to just create a message file for each language, 
then load them all in to the session context as a enumerated map. You can match 
every message you load against an enum value so JBoss won't even start-up if 
there' san error. In your code you can use the enums exclusively, and the 
strings on jsp or jspx files. 

In other words, resource bundless seem like a well-intentioned but misguided 
attempt to I8N when all we really needed wa a Map populated from your own 
choice of data souce. 



 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931226#3931226

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931226


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to