[
https://issues.apache.org/jira/browse/TRINIDAD-1374?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Cale Scholl updated TRINIDAD-1374:
----------------------------------
Status: Patch Available (was: Open)
> NumberConverter with type='number' and pattern set gives malformed error
> ------------------------------------------------------------------------
>
> Key: TRINIDAD-1374
> URL: https://issues.apache.org/jira/browse/TRINIDAD-1374
> Project: MyFaces Trinidad
> Issue Type: Bug
> Components: Components
> Reporter: Yee-Wah Lee
> Priority: Minor
> Attachments: 1.2.10.1_currencySign.patch
>
>
> 1. Add an inputText with child numberConverter that has type='number' and a
> pattern set.
> e.g.
> <tr:inputText value="99.99" label="number converter1">
> <f:facet name="help">
> <tr:outputText value="type='number' integerOnly='true' -
> This will result in fraction part to be omitted"/>
> </f:facet>
> <f:convertNumber type="number" pattern="0.0"/>
> </tr:inputText>
> 2. Run the jspx and type in malformed input.
> 3. submit the page, the error message for the component is:
> The format of the number must match this pattern: {2}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.