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

Select-Many-Component does not allow to register converter for collection but only collection elements

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • None
    • None
    • General
    • None

    Description

      You can register a converter for the elements of a selected collection of values but the collection type itself cannot be controlled by a converter. It appears to me that the implementation makes assumption about the developers intended collection type (one comments starts like "this is a curious situation..."). Instead the collection type should be configurable. I have the rather exotic application in mind where I want to edit an in-clause of an SQL query ("in (1,2,4)"). This String property apparently is eqivalent to a list of values of some type. If I want to be able to make this String property of a managed bean editable by a jsf page I need a converter that generates a collection of objects from the String.

      Attachments

        Activity

          People

            Unassigned Unassigned
            stemey Stefan Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: