standard jsf converter tags into custom components

I have developed a custom component which works fine. Later i have to add the convertors to custom component tag. This does not recognise the conversion.

<custom:Input id="amount" value="#{bank.amount}" size="5" >

<f:convertNumber minFractionDigits="2"/>

</custom:Input>

Does we need to handle the convertors as encodechildren in component tag class?How can we call standard jsf converter tags into custom components?

Thanks in Advance,

[491 byte] By [skjsfa] at [2007-11-27 1:30:42]
# 1

> I have developed a custom component which works fine.

> Later i have to add the convertors to custom

> component tag. This does not recognise the

> conversion.

>

> <custom:Input id="amount" amount="#{bank.amount}"

> read="false"" >

><f:convertNumber minFractionDigits="2"/>

> put>

>

> Does we need to handle the convertors as

> encodechildren in component tag class?How can we call

> standard jsf converter tags into custom components?

>

> Thanks in Advance,

encodeBegin(FacesContext ctx) method will able to set the standard converter, while applying these format to value phase it doesnot work well.Can anybody has any idea on this?

skjsfa at 2007-7-12 0:32:15 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...