ICEfaces
  1. ICEfaces
  2. ICE-7962

Paginator can't use expression for attributes

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.0.0.GA
    • Fix Version/s: 3.1.0.BETA1, 3.1
    • Component/s: Sample Apps
    • Labels:
      None
    • Environment:
      Showcase App Mojarra MyFaces
    • Assignee Priority:
      P2
    • Affects:
      Sample App./Tutorial

      Description

      While the issue can be replicated with our showcase example, it's not specific to ICEfaces and can be reproduced in a simple test case running either Mojarra or MyFaces

      To reproduce:
      - build showcase with Myfaces (ant clean servlet profile -Dmyfaces="true") or Mojarra
      - deploy to Tomcat7.
      - load the page in any browser: http://localhost:8080/showcase/showcase.jsf?exp=dataTableBean&grp=aceMenu
      - choose the Pagination example
      - select on the page: Table Rows (1-30) = 5 and tab out
      - then change Selected Page (1-6) = 6 and submit.
      - a validation message renders on the page: "Specified attribute is not between the expected values of 1 and 3."

      The issue being that use of an EL expression for the maximum attribute doesn't work.

        Activity

        Carmen Cristurean created issue -
        Evgheni Sadovoi made changes -
        Field Original Value New Value
        Assignee Evgheni Sadovoi [ evgheni.sadovoi ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 3.1 [ 10312 ]
        Assignee Priority P2
        Assignee Evgheni Sadovoi [ evgheni.sadovoi ] Deryk Sinotte [ deryk.sinotte ]
        Deryk Sinotte made changes -
        Salesforce Case []
        Affects [Sample App./Tutorial]
        Assignee Deryk Sinotte [ deryk.sinotte ] Ken Fyten [ ken.fyten ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 3.1.0.BETA1 [ 10335 ]
        Deryk Sinotte made changes -
        Summary showcase - ace:dataTable - Paginator - incorrect validation on the page when using MyFaces JSF showcase - ace:dataTable - Paginator - incorrect validation on the page
        Salesforce Case []
        Fix Version/s 3.1.0.BETA1 [ 10335 ]
        Assignee Ken Fyten [ ken.fyten ] Deryk Sinotte [ deryk.sinotte ]
        Deryk Sinotte made changes -
        Environment EE-3.0.GA build 10 (showcase app built with myFaces)
        Server: Tomcat7
        Browsers: All
        Showcase App
        Salesforce Case []
        Deryk Sinotte made changes -
        Summary showcase - ace:dataTable - Paginator - incorrect validation on the page Paginator can't use expression for attributes
        Environment Showcase App Showcase App Mojarra MyFaces
        Salesforce Case []
        Description In the showcase application built with myFaces, on the ace:dataTable -> Paginator page:
         selecting Table Rows (1-30) = 5 and Selected Page (1-6) = 6 , a validation message renders on the page: "Specified attribute is not between the expected values of 1 and 3."

        This does not appear to be correct. This is not an issue when using Mojarra JSF.

        To reproduce:
        - build showcase with Myfaces (ant clean servlet profile -Dmyfaces="true"), deploy to Tomcat7.
        - load the page in any browser: http://localhost:8080/showcase/showcase.jsf?exp=dataTableBean&grp=aceMenu
        - select on the page: Table Rows (1-30) = 5 and Selected Page (1-6) = 6 and submit.
        While the issue can be replicated with our showcase example, it's not specific to ICEfaces and can be reproduced in a simple test case running either Mojarra or MyFaces

        To reproduce:
        - build showcase with Myfaces (ant clean servlet profile -Dmyfaces="true") or Mojarra
        - deploy to Tomcat7.
        - load the page in any browser: http://localhost:8080/showcase/showcase.jsf?exp=dataTableBean&grp=aceMenu
        - choose the Pagination example
        - select on the page: Table Rows (1-30) = 5 and tab out
        - then change Selected Page (1-6) = 6 and submit.
        - a validation message renders on the page: "Specified attribute is not between the expected values of 1 and 3."

        The issue being that use of an EL expression for the maximum attribute doesn't work.
        Deryk Sinotte made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Salesforce Case []
        Fix Version/s 3.1.0.BETA1 [ 10335 ]
        Security Private [ 10001 ]
        Deryk Sinotte made changes -
        Link This issue is duplicated by ICE-8049 [ ICE-8049 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Deryk Sinotte
            Reporter:
            Carmen Cristurean
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: