Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Minor Minor
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: Validation/Conversion
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      691
    • Status Whiteboard:
      Hide

      size_medium importance_medium

      Show
      size_medium importance_medium

      Description

      Written on behalf of Lincoln Baxter, III:

      I propose adding converter chaining, by default, to UIComponent. In effect,
      turning converters into filters.

      Sometimes I need to use more than one converter (rich text processing, for
      example) and that leaves me having to write my own converter chain class,
      instantiating that class in a bean, then binding it to my Facelet component
      through EL.

      This seems like a lot of work, when what I'd really like to see is converter
      chaining support out of the box. We allow multiple validators, but not multiple
      converters.

      Right now, chains only operate on strings, which could cause some confusion,
      potentially, but I see reasons to enable multiple converters per component, and
      convert (in list style) in the order in which the converters were added.

      This isn't a hard change, doesn't add much complexity, but does fix one of those
      things that people end up having to do themselves.

      Seam has a converter chain, which may serve as a prototype.

      http://anonsvn.jboss.org/repos/seam/branches/community/Seam_2_2/ui/src/main/java/org/jboss/seam/ui/converter/ConverterChain.java

        Activity

        Hide
        mojavelinux added a comment -

        Update target milestone to 2.1

        Show
        mojavelinux added a comment - Update target milestone to 2.1
        Hide
        Ed Burns added a comment -

        sheetalv

        Show
        Ed Burns added a comment - sheetalv
        Hide
        rogerk added a comment -

        triage

        Show
        rogerk added a comment - triage
        Hide
        rogerk added a comment -

        triage

        Show
        rogerk added a comment - triage
        Hide
        Ed Burns added a comment -

        Bulk assign all of Sheetal's spec issues to me.

        Show
        Ed Burns added a comment - Bulk assign all of Sheetal's spec issues to me.
        Hide
        Ed Burns added a comment -

        Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.

        Show
        Ed Burns added a comment - Set priority to baseline ahead of JSF 2.3 triage. Priorities will be assigned accurately after this exercise.
        Hide
        Manfred Riem added a comment -

        Setting priority to Minor

        Show
        Manfred Riem added a comment - Setting priority to Minor

          People

          • Assignee:
            Unassigned
            Reporter:
            mojavelinux
          • Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated: