Hi everybody.
I have a problem with the bean:write tag. I have a jsp page with the
following text <bean:write name="websmsForm" property="smsMessagesPrice"
bundle="FormatResources"  formatKey="currency.format" /> and I have
create two ressource bundles FormatResources.properties and
FormatResources_da.properties. The idea here is that there is a defualt
bundle that holds the currencyformat for the smsMessagesPrice property
and there is a specific danish version(the page is hosted in Denmark).
Everything works as expected in the following conditions. 1.) The user
has a browser with the language set to english. 2.) The user has a
browser with no language preference. 3.) The user has a browser with the
danish language set.
THE PROBLEM.
If a user has a browser with dutch language set or any other language,
an error occurs. Error = Wrong format string: '#.##0,00 kr'.''. It seems
as if the tag finds a locale that it has no bundle for, then it tries to
use the danish format which is failing for dutch. 
Why doesn't the tag just simply use the default english ?
Cheers


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to