On 8/31/05, Craig McClanahan <crai...@gmail.com> wrote:
In other words, you want to use DI for configuring properties on a by-class
converter? That, sadly, isn't supported unless you were to override the
Application instance provided by your JSF impementation (or if your JSF
implementation provided this feature as part of its own implementation, hint
hint :-). The technique I described doesn't reference any by-id or by-type
registered converters ... it creates anonymous instances.
Yeah, after I sent the message, I saw that we were discussion two
DI of managed beans into a by-class converter was what I was referring
to as a weakness in JSF converter/managed-beans configuration, and not
injecting the converter into something else.
Ken Weiner's methodology looks like it can solve this problem (which,
as you repeat above, it does by overriding the Application instance).