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


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.

Reply via email to