ICEfaces-EE
  1. ICEfaces-EE
  2. IPCK-187

filterTable paginator does not work when there is an inputText field with require=true on the same form

    Details

    • Workaround Exists:
      Yes
    • Workaround Description:
      remove required=true or set to false.

      Description

      The paginator buttons and page number links do not work when there is an ice:inputText component on the same form that uses required=true. Clicking on the links/buttons causes validation to occur.

        Activity

        Hide
        Ken Fyten added a comment -

        This should work as expected so long as the buttons on the filterTable paginator are using partialSubmit=true.

        Show
        Ken Fyten added a comment - This should work as expected so long as the buttons on the filterTable paginator are using partialSubmit=true.
        Hide
        Brad Kroeger added a comment -

        The filterTable is using a standard ice:dataPaginator, for pagination, there is nothing unique to the filterTable in the usage of the links in the paginator. So, this is an ice:dataPaginator issue.

        I tested putting partialSubmit="true" on the ice:form containing these elements and this will make the buttons in the paginator perform a partialSubmit, however it did not appear to make the number links perform a partialSubmit.

        I'm assuming this issue hasn't come up before because a form used for input and a dataTable would typically be nested in separate ice:form tags, which would follow best practices.

        Show
        Brad Kroeger added a comment - The filterTable is using a standard ice:dataPaginator, for pagination, there is nothing unique to the filterTable in the usage of the links in the paginator. So, this is an ice:dataPaginator issue. I tested putting partialSubmit="true" on the ice:form containing these elements and this will make the buttons in the paginator perform a partialSubmit, however it did not appear to make the number links perform a partialSubmit. I'm assuming this issue hasn't come up before because a form used for input and a dataTable would typically be nested in separate ice:form tags, which would follow best practices.
        Hide
        Arran Mccullough added a comment -

        I investigated to see if there was an issue with the dataPaginator component. I found that the issue was the same with this component but there is a quick and simple workaround. Setting the immediate=true attribute on the dataPaginator resolved the issue. Is this something that could/should be added to the dataPaginator in the filterTable example?

        Show
        Arran Mccullough added a comment - I investigated to see if there was an issue with the dataPaginator component. I found that the issue was the same with this component but there is a quick and simple workaround. Setting the immediate=true attribute on the dataPaginator resolved the issue. Is this something that could/should be added to the dataPaginator in the filterTable example?

          People

          • Assignee:
            Philip Breau
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: