ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-227

ice-cc:dataPager does not work on Tomcat 7

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.2.GA_P02
    • Fix Version/s: EE-1.8.2.GA_P03
    • Component/s: Facelet Components
    • Labels:
      None
    • Environment:
      Tomcat 7
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      There is a system property to add in the start.sh script as workaround:

      org.apache.el.parser.SKIP_IDENTIFIER_CHECK=true

      ( from http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_6/java/org/apache/el/util/Validation.java ).

      export JAVA_OPTS="$JAVA_OPTS -Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true"
      Show
      There is a system property to add in the start.sh script as workaround: org.apache.el.parser.SKIP_IDENTIFIER_CHECK=true ( from http://svn.apache.org/repos/asf/tomcat/tc7.0.x/tags/TOMCAT_7_0_6/java/org/apache/el/util/Validation.java ). export JAVA_OPTS="$JAVA_OPTS -Dorg.apache.el.parser.SKIP_IDENTIFIER_CHECK=true"

      Description

      The dataPager composite component throws the following error when used in Tomcat 7:

      java.lang.Exception: javax.faces.FacesException: Problem in renderResponse: /file:/Users/tylerjohnson/Work/Servers/apache-tomcat-7.0.6/webapps/EditableTable/WEB-INF/lib/icefaces-composite-comps.jar!/META-INF/facelet/datatable/dataPagerInfo.xhtml @34,75 for="#{for}" [for] is not a valid Java identifier
      com.icesoft.faces.context.View.servePage(View.java:189)
      com.icesoft.faces.webapp.http.core.SingleViewServer.service(SingleViewServer.java:84)

        Activity

        Hide
        Carlo Guglielmin added a comment -

        Changed the "for" attribute to "forTable", so the reserved word is no longer used.

        Show
        Carlo Guglielmin added a comment - Changed the "for" attribute to "forTable", so the reserved word is no longer used.

          People

          • Assignee:
            Carlo Guglielmin
            Reporter:
            Tyler Johnson
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: