Waow! This sure sucks for me... Looks like it's just recreated at every submit I hit so I can basically never keep any of its values... Kinda defeats the point of what I was trying to do but I found a way around, it just kills all the reflection process we were trying to use. Thanks for the help,
greg -----Original Message----- From: Mike Kienenberger [mailto:[EMAIL PROTECTED] Sent: Monday, October 17, 2005 12:42 PM To: MyFaces Discussion Subject: Re: Conversion problem This is something that's changed in the JSF 1.2 spec. In 1.2, converters are saved and restored across submits, but in 1.1 the behavior is either undefined or converters are always recreated (not sure which). This is probably not an option for you, but facelets follows the 1.2 behavior even when used with a JSF 1.1 implementation. If you were considering facelets, then this might be one reason to start using it. Other than that, your options are probably a) switch to JSF 1.2 RI b) find another way to do the same thing, even when converters are recreated each submit c) submit a patch to MyFaces to make it JSF 1.2 compliant, and hopefully a 1.2 compliance switch will be added soon to MyFaces, and such features will begin to be integrated. On 10/15/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hi, > > Thanks for the reply. Unfortunately I don't think that is the problem. > Here's what I've found out so far using tracing... I have a converter that > is created when my page is loaded the first time. All its values are set > properly (in this case it's a string property that corresponds to the name > of a class, which extends Enum, since i'm trying to convert the value > submitted in a combo to an enum). > > However when the form is submitted, another converter has been created by > the convertertag, with its properties set to null. My question is just why > the tag called createconverter again when the form was submitted, and why > its properties were not set? I believe this is the reason why it's not > working currently since it created another converter and its properties are > null, the converter really returns nothing when getAsObject() is called... > > Greg > > -----Original Message----- > From: Dave Brondsema [mailto:[EMAIL PROTECTED] > Sent: Fri 10/14/2005 3:13 PM > To: MyFaces Discussion > Cc: > Subject: Re: Conversion problem > > >

