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

javax.faces.convert.EnumConverter.getAsString null value problem

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.3.0-beta
    • 2.3.0
    • JSR-372
    • None

    Description

      public java.lang.String getAsString(FacesContext context, UIComponent component, java.lang.Object value)

       

      Parameters: context - FacesContext for the request being processed component - UIComponent with which this model object value is associated value - Model object value to be converted (may be null)

       

      Returns: a zero-length String if value is null, otherwise the result of the conversion

       

      Currently we return null if the value is null rather than a zero-length String ("")

      Attachments

        1. MYFACES-4193.patch
          1 kB
          Paul Nicolucci

        Activity

          People

            paul.nicolucci Paul Nicolucci
            paul.nicolucci Paul Nicolucci
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: