Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-54

Attribute locale of type String not supported in convertNumber

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.7 beta
    • 1.1.0
    • General
    • None
    • JBoss 4, Tomcat 5, JDK 1.5, Win XP

    Description

      When I set the value of locale (convertNumber) to "pt_BR" it throws this below message. From my point of view all attributes of type String must be supported at all components (TAG).

      java.lang.IllegalArgumentException: Attribute locale of type String not supported
      at net.sourceforge.myfaces.taglib.core.ConvertNumberTag.setConverterLocale(ConvertNumberTag.java:224)
      at net.sourceforge.myfaces.taglib.core.ConvertNumberTag.createConverter(ConvertNumberTag.java:128)
      at javax.faces.webapp.ConverterTag.doStartTag(ConverterTag.java:60)
      at org.apache.jsp.test_jsp._jspx_meth_f_convertNumber_0(test_jsp.java:223)
      at org.apache.jsp.test_jsp._jspx_meth_h_inputText_0(test_jsp.java:197)
      at org.apache.jsp.test_jsp._jspx_meth_h_form_0(test_jsp.java:150)
      at org.apache.jsp.test_jsp._jspx_meth_f_view_0(test_jsp.java:116)
      at org.apache.jsp.test_jsp._jspService(test_jsp.java:72)
      at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)

      Attachments

        1. myfaces-54.patch
          0.7 kB
          Pino Silvaggio

        Activity

          People

            mmarinschek Martin Marinschek
            darlan Darlan Oliveira
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: