It doesn't look like it's picking up the fact that the expression is literal.

Both pertinent classes look correct from Tomcat:

http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/java/org/apache/jasper/el/JspValueExpression.java

http://svn.apache.org/repos/asf/tomcat/tc6.0.x/trunk/java/org/apache/el/ValueExpressionImpl.java


>I am running jsf-1.2_02-b03-FCS.
>
>Martin
>
>On 11/29/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>> What version of JSF 1.2 are you running exactly?
>>
>>
>> >There seems to be a problem with Converter subclasses when running a
>> >JSF 1.2 Web app inside Tomcat 6.0.2. This problem can be reproduced by
>> >running the JSF car demo Web app that comes with the JSF 1.2
>> >distribution. To reproduce, in the car demo startup page, choose
>> >locale (click English for instance), then click More, then Buy, then
>> >Buy again in the choice confirmation page. The last Buy will cause a
>> >page submission and when invoking the converter on that page, the
>> >following exception will be raised:
>> >
>> >org.apache.jasper.JasperException: /customerInfo.jsp(157,0) Cannot
>> >coerce value (creditCardConverter) to type
>> >(javax.faces.convert.Converter) for attribute converter.
>> >
>> 
>>org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.ja
>v
>> >a:40)
>> >
>> 
>>org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:406)
>
>> >
>> 
>>org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:255)
>
>> >
>> 
>>org.apache.jasper.compiler.Validator$ValidateVisitor.checkXmlAttributes(Valida
>t
>> >or.java:1080)
>> >
>> 
>>org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:818)
>
>> >
>> >       org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
>> >       org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
>> >       org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
>> >
>> 
>>org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:837)
>
>> >
>> >       org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
>> >       org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
>> >       org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
>> >
>> 
>>org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:837)
>
>> >
>> >       org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
>> >       org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
>> >       org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
>> >
>> 
>>org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:837)
>
>> >
>> >       org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
>> >       org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
>> >       org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
>> >
>> 
>>org.apache.jasper.compiler.Validator$ValidateVisitor.visit(Validator.java:837)
>
>> >
>> >       org.apache.jasper.compiler.Node$CustomTag.accept(Node.java:1507)
>> >       org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
>> >       org.apache.jasper.compiler.Node$Visitor.visitBody(Node.java:2386)
>> >       org.apache.jasper.compiler.Node$Visitor.visit(Node.java:2392)
>> >       org.apache.jasper.compiler.Node$Root.accept(Node.java:489)
>> >       org.apache.jasper.compiler.Node$Nodes.visit(Node.java:2336)
>> >       org.apache.jasper.compiler.Validator.validate(Validator.java:1679)
>> >       org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:178)
>> >       org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
>> >       org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
>> >       org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
>> >
>> 
>>org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566
>)
>> >
>> >
>> 
>>org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:314
>)
>> >
>> >       
>org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
>> >       org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
>> >       javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
>> >
>> 
>>com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:41
>3
>> >)
>> >
>> 
>>com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerIm
>p
>> >l.java:480)
>> >
>> 
>>com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:125)
>
>> >
>> >
>> 
>>com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:1
>3
>> >3)
>> >       com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
>> >       
>com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
>> >       javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
>> >
>> >---------------------------------------------------------------------
>> >To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >For additional commands, e-mail: [EMAIL PROTECTED]
>> >
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to