Affects Version/s: 2.0
Fix Version/s: None
Operating System: All
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
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
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.