Uploaded image for project: 'MyFaces Trinidad'
  1. MyFaces Trinidad
  2. TRINIDAD-1227

Double/Long Range Validators require value is instanceof java_lang_Number

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.9-core, 1.2.9-core
    • 1.2.10-core, 1.0.10-core
    • Components
    • None

    Description

      Currently the range validators want that the passed in value is instanceOf java.lang.Number. However, not all "number" implement that type.
      To be more nice to non java_lang_Number Numbers... we should try to parse the string representation (bogusNumber.toString()).

      Attachments

        Activity

          People

            matzew Matthias Wessendorf
            matzew Matthias Wessendorf
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: