0 Replies Latest reply on Oct 18, 2010 4:52 AM by Eloweyn G

    ExtendedDataTable allows only EL expressions for property selection

    Eloweyn G Newbie

      Hi!

      I have an application that works perfectly on my computer. The problem starts when I run the aplication on a Windows 2003 server.

      I'm using Richfaces 3.3.3 final.  I have tested it on two different Windows 2003 servers, tomcat 6.0.26 server and 2 different jre (jre1.5.0_12 and jre6 update 21, and in all cases, I get this error:

       

      org.apache.jasper.JasperException: Ha sucedido una excepción al procesar la página JSP /pages/index.jsp en línea 37

       

      34:
      35: <br>
      36: <div align="center">
      37: <rich:extendedDataTable
      38: value="#{mantGestBean.lGest}" var="listaGestVar" id="table"
      39: sortMode="#{mantGestBean.sortMode}"
      40: selectionMode="#{mantGestBean.selectionMode}"

       


      Stacktrace:
      org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:510)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:419)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
      com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:468)
      com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:140)
      org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
      org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
      com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
      com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
      com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
      org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:530)
      org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
      org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
      org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
      org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
      org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:706)
      org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:677)
      org.apache.jsp.index_jsp._jspService(index_jsp.java:58)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

       


      root cause

       

      java.lang.IllegalArgumentException: Component org.richfaces.ExtendedDataTable with Id table allows only EL expressions for property selection
      org.richfaces.taglib.ExtendedDataTableTag.setProperties(ExtendedDataTableTag.java:1464)
      javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:230)
      javax.faces.webapp.UIComponentClassicTagBase.createChild(UIComponentClassicTagBase.java:486)
      javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:670)
      javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1142)
      org.apache.jsp.pages.index_jsp._jspx_meth_rich_005fextendedDataTable_005f0(index_jsp.java:302)
      org.apache.jsp.pages.index_jsp._jspx_meth_a4j_005fform_005f0(index_jsp.java:241)
      org.apache.jsp.pages.index_jsp._jspx_meth_f_005fview_005f0(index_jsp.java:165)
      org.apache.jsp.pages.index_jsp._jspService(index_jsp.java:125)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
      com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:468)
      com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:140)
      org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:100)
      org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:176)
      com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
      com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
      com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
      javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
      org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:530)
      org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:206)
      org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:290)
      org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:388)
      org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:515)
      org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:706)
      org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:677)
      org.apache.jsp.index_jsp._jspService(index_jsp.java:58)
      org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:377)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:313)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:260)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

       

       

      You have the index.jsp and MantGestBean.java files attached. I think that it's a bug.

      I created an issue on october, the 7th, but is still unassigned...and I don't know why.

      https://jira.jboss.org/browse/RF-9444

       

      Can somebody help me please? It's blocking our development.

      Thank you very much in advance.