Package com.aripd.util.converter
Class BigDecimalCurrencyCodeConverter
- java.lang.Object
-
- com.aripd.util.converter.BigDecimalCurrencyCodeConverter
-
- All Implemented Interfaces:
javax.faces.convert.Converter<BigDecimal>
@Named public class BigDecimalCurrencyCodeConverter extends Object implements javax.faces.convert.Converter<BigDecimal>
<h:outputFormat value="#{pricingPlan.price}"> <f:converter converterId="bigDecimalCurrencyCodeConverter"/> <f:attribute name="currencyCode" value="#{pricingPlan.currencyCode}"/> </h:outputFormat>
- Author:
- aripd.com
-
-
Constructor Summary
Constructors Constructor Description BigDecimalCurrencyCodeConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimal
getAsObject(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String value)
String
getAsString(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, BigDecimal value)
-
-
-
Method Detail
-
getAsObject
public BigDecimal getAsObject(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, String value)
- Specified by:
getAsObject
in interfacejavax.faces.convert.Converter<BigDecimal>
-
getAsString
public String getAsString(javax.faces.context.FacesContext context, javax.faces.component.UIComponent component, BigDecimal value)
- Specified by:
getAsString
in interfacejavax.faces.convert.Converter<BigDecimal>
-
-