Martin, I looked into it further. I tracked it down to be in the SharedRendererUtils.findUIOuputConverter().
In MyFaces 1.1.5 in line 58 I see: Class valueType = vb.getType(facesContext); The returned valueType is as expected (meaning my custom type I created the converter for), e.g. Person.class When I switch to MyFaces 1.2.2 I see the following (also in line 58, although that seems to be coincidence): Class valueType = expression.getType(facesContext.getELContext()); The valueType I get from this statement is Object.class. Three lines further in SharedRendererUtils.findUIOuputConverter() I get kicked out: if (Object.class.equals(valueType)) return null; Where should I go from here? Should I put this in a ticket, or is there any known problem with the expression.getType(...) mechanism? bye, Michael Michael Heß schrieb: > Sure, I´ll look further into it, and keep you posted. > > bye, Michael > > Martin Marinschek schrieb: >> Hi Michael, >> >> no, this is not a known problem. Can you please re-test carefully, and >> if you keep seeing this problem, file an issue? >> >> regards, >> >> Martin >> >> On Thu, Mar 13, 2008 at 3:40 PM, Michael Heß <[EMAIL PROTECTED]> wrote: >>> Hi List, >>> >>> I'm having some strange issues with a custom converter I just created. >>> The >>> converter works as expected, if it is mapped by converter-id in >>> faces-config and is used with a corresponding converter attribute in >>> the >>> inputText. >>> >>> Now, I changed the converter declaration in faces-config to >>> "converter-for-class" and removed the converter attribute on the >>> inputText. >>> >>> What I observe is, that when the view is rendered for the first time, >>> getAsString does get called. But when the postback is sent, >>> getAsObject >>> does not get called, leaving me with a String. >>> >>> MyFaces Version is 1.2.2. Is this a known problem? >>> >>> bye, Michael >>> >>> >>> -- >>> Michael Heß >>> Senior Consultant >>> >>> ORDIX AG >>> Westernmauer 12-16 >>> 33098 Paderborn >>> >>> http://www.ordix.de >>> Tel.: 05251 / 10 63 0 >>> Fax : 05251 / 10 63 99 >>> Mob : 0163 /673 49 43 >>> >>> ORDIX AG - Aktiengesellschaft für Softwareentwicklung, Schulung, >>> Beratung >>> und Systemintegration >>> Vorsitzender des Aufsichtsrates: Prof. Dr. Hermann Johannes >>> Vorstand: Wolfgang Kögler (Vorsitzender), Benedikt Georgi, Christoph >>> Lafeld, Axel Röber >>> Firmensitz: Westernmauer 12 - 16, 33098 Paderborn, Tel: 05251 / >>> 1063-0, >>> Fax: 0180 / 1 67 34 90 >>> Amtsgericht Paderborn, HRB 2941, Ust-IdNr.DE 126333767, Steuernummer: >>> 339/5866/0142 >>> >>> >>> >> >> >> >> -- >> >> http://www.irian.at >> >> Your JSF powerhouse - >> JSF Consulting, Development and >> Courses in English and German >> >> Professional Support for Apache MyFaces >> >> > > > -- > Michael Heß > Senior Consultant > > ORDIX AG > Westernmauer 12-16 > 33098 Paderborn > > http://www.ordix.de > Tel.: 05251 / 10 63 0 > Fax : 05251 / 10 63 99 > Mob : 0163 /673 49 43 > > ORDIX AG - Aktiengesellschaft für Softwareentwicklung, Schulung, Beratung > und Systemintegration > Vorsitzender des Aufsichtsrates: Prof. Dr. Hermann Johannes > Vorstand: Wolfgang Kögler (Vorsitzender), Benedikt Georgi, Christoph > Lafeld, Axel Röber > Firmensitz: Westernmauer 12 - 16, 33098 Paderborn, Tel: 05251 / 1063-0, > Fax: 0180 / 1 67 34 90 > Amtsgericht Paderborn, HRB 2941, Ust-IdNr.DE 126333767, Steuernummer: > 339/5866/0142 > > > > -- Michael Heß Senior Consultant ORDIX AG Westernmauer 12-16 33098 Paderborn http://www.ordix.de Tel.: 05251 / 10 63 0 Fax : 05251 / 10 63 99 Mob : 0163 /673 49 43 ORDIX AG - Aktiengesellschaft für Softwareentwicklung, Schulung, Beratung und Systemintegration Vorsitzender des Aufsichtsrates: Prof. Dr. Hermann Johannes Vorstand: Wolfgang Kögler (Vorsitzender), Benedikt Georgi, Christoph Lafeld, Axel Röber Firmensitz: Westernmauer 12 - 16, 33098 Paderborn, Tel: 05251 / 1063-0, Fax: 0180 / 1 67 34 90 Amtsgericht Paderborn, HRB 2941, Ust-IdNr.DE 126333767, Steuernummer: 339/5866/0142

