I have an application. There are some setting options for each user. These options are:
thousendSeperator = You can selected "." or ","
decimalPlaces = You can selected "." or ","
postionCurrencySymbol = "after" or "previous" => $ 100,00 or 100,00 $
Now I need a pattern for this? The three settings are stored in the database. So I get it from a bean.
I try something like this
<h:outputText
value="#{article.salePrice}">
<f:convertNumber
pattern="###{loginBean.user.thousendSeperator}###{loginBean.user.decimalPlaces}"
currencySymbol="#{article.mandatoryCurrency.currencySymbol}" />
</h:outputText>
But it´s not working. Could anybody please help me to fix it?