https://issues.apache.org/bugzilla/show_bug.cgi?id=44637
Summary: JspValueExpression.getType() returns Object.class instead of correct Type Product: Tomcat 6 Version: 6.0.16 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Servlet & JSP API AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] Created an attachment (id=21690) --> (https://issues.apache.org/bugzilla/attachment.cgi?id=21690) Eclipse Project that shows the problem. Problem manifests when using converter-for-class strategy within a JSF application. I tested JSF RI 1.2.0 as well as My Faces 1.2.2. A converter is mapped for a BackingBean class. The first symptom I noticed was the converters getAsObject() method not being called. I investigated further, and tracked it down to a call to JspValueExpression that both RI and MyFaces make: (_SharedRendererUtils: Line 58) Class valueType = expression.getType(facesContext.getELContext()); In my case this call always returns Object.class as valueType, leading to the converter not being called. I have attached an eclipse workspace that includes a simple demo of the problem. I have left out the MyFaces Libs, so to make the example work please grab a copy of the libs on the myfaces site. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]