Hello All,

I have a page in which I am trying to display formated balance using 
following bean:write tag.

<bean:write name="account" property="balance" formatKey="format.amount" />

The balance property is BigDecimal.  The format.amount is defined in my 
.properties files as format.amount=###,###,##0.00 for default, and 
format.amount=##,##,##,##0.00 for en_PK locale.

The problem is that even when the user is in en_PK locale, the amount is 
still being formatted as in default locale.  The other items on the same 
page come from the correct locale (en_PK).  I even tried outputting the 
value of format.amount using bean:message tag, and it picks up and dispays 
the correct value.

Am I doing something wrong here? or it is a bug with bean:write tag while 
applying localised format to amounts.

Regards,
Muhammad Momin Rashid 




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

Reply via email to