set the converter attribute to a property in a backing bean.
in the getter for that converter, configure it any way you
wish.
<h:inputFoo converter="#{bb.specialConverter}" />
---- Original message ----
>Date: Thu, 8 Dec 2005 15:27:24 -0500
>From: <[EMAIL PROTECTED]>
>Subject: custom converters and their attributes
>To: <[email protected]>
>
>Hi,
>
>I'm currently using a custom converter that has an attribute
that is
>used within the getAsString() method. I've been told that
until 1.2 a
>converter is recreated at each lifecycle in such a way that
the first
>time my converterTag creates the converter it works fine,
but any
>subsequent requests will recreate one and not set its
attribute
>properly.
>
>I've been told to wait for version 1.2 or use facelets to
get around
>this problem. Now, I'd like to make it work properly in
version 1.1
>without using facelets. Is that at all possible or not :)?
>
>Thanks,
>
>Greg
>
>P.s: I've tried keeping a reference to the converter in the
converterTag
>but it looks like myFaces recreates the converter without
going through
>the createConterter() method of the converterTag the second
time around.
>
Dennis Byrne