You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Yee-Wah Lee (JIRA)" <de...@myfaces.apache.org> on 2012/10/25 19:31:13 UTC
[jira] [Created] (TRINIDAD-2331) convertNumber component does not
work with target type of BigInteger
Yee-Wah Lee created TRINIDAD-2331:
-------------------------------------
Summary: convertNumber component does not work with target type of BigInteger
Key: TRINIDAD-2331
URL: https://issues.apache.org/jira/browse/TRINIDAD-2331
Project: MyFaces Trinidad
Issue Type: Bug
Components: Components
Affects Versions: 2.0.1-core
Reporter: Yee-Wah Lee
Priority: Minor
<af:inputText label="BigInteger number converter"
value="#{testValidate.bigInt}"
id="bigintegernumberconverter">
<af:convertNumber/>
</af:inputText>
Bind testValidate.bigInt to return an instance of java.math.BigInteger.
The converter will fail with TypeConversionException even though isAssignable() returns true. This is because the convert() method does not implement the conversion. The fix should be similar to Trinidad-372 for BigDecimal.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira