Create a stateless Seam component with a method that takes a float as a
parameter and returns it as a formatted currency string.
For example, if you named the component "formatter" and named the method
"asCurrency(float currency)", then your label attribute would be:
label="#{sale.name} - #{formatter.asCurrency(sale.getSubtotal(calendarBean))}"
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4098430#4098430
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4098430
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user