DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=41912>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=41912

           Summary: JSF datatable does not work on tomcat 6.0.9
           Product: Tomcat 6
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Catalina
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


In a page we want to use the jsf element 'dataTable' as follows:



<h:dataTable id="mylist" value="#{listBean.testList}" var="listitem">

   <f:facet name="header"><h:outputText value="Name"/></f:facet>

   <h:column><h:outputText value="#{listitem}"/></h:column>

</h:dataTable>



The testlist is a simple list of strings. 

We are using Tomcat 6 and Sun RI jsf 1.2 implementation. 

On Glassfish it works fine, but with Tomcat 6 I get the following error:



An error occurred at line: 33 in the jsp file: /Page2.jsp The method

setVar(String) in the type DataTableTag is not applicable for the arguments
(JspValueExpression) ...



Stacktrace:

        at

org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHa

ndler.java:85)

        at

org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.ja

va:330)

        at

org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:41

5)

        at

org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)

        at

org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)

        at

org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)

        at

org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.ja

va:566)

        at

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja

va:308)

        at

org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)

        at

org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)

        at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)

        at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica

tionFilterChain.java:290)

        at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt

erChain.java:206)

        at

org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatc

her.java:687)

        at

org.apache.catalina.core.ApplicationDispatcher.processRequest(Applicatio

nDispatcher.java:469)

        at

org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDisp

atcher.java:403)

        at

org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispat

cher.java:301)

        at

com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.j

ava:414)

        at

com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHan

dlerImpl.java:455)

        at

com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.jav

a:139)

        at

com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.

java:108)

        at

com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:266)

        at

com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159)

        at

javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)

        at

org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Applica

tionFilterChain.java:290)

        at

org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilt

erChain.java:206)

        at

org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValv

e.java:228)

        at

org.apache.catalina.core.StandardContextValve.invoke(StandardContextValv

e.java:175)

        at

org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java

:128)

        at

org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java

:104)

        at

org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:517

)

        at

org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.

java:109)

        at

org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:2

12)

        at

org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:84

4)

        at

org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(

Http11Protocol.java:634)

        at

org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:445)

        at java.lang.Thread.run(Thread.java:595)



Greetings,



Anneke Jansen

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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

Reply via email to