Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-1347

icefaces3-directory-portlet info paginator showing incorrect starting row after search

    Details

      Description

      This issue was first reported in the forums here:
      http://www.liferay.com/web/guest/community/forums/-/message_boards/view_message/14789602

      I think this is actually an incompatibility between the ICEfaces ice:dataPaginator UIComponent and Facelet Composite Component feature of JSF 2. The ice:dataPaginator was originally developed back in 2004/2005, well before Jacob Hookom developed Facelets.

      Basically what's happening is that during the RENDER_RESPONSE phase of the JSF lifecycle, the ICEfaces TableRenderer.encodeChildren(FacesContext, UIComponent) method calls the UISeriesBase.ensureFirstRowInRange() method AFTER the HtmlDataTable.getFirst() method is called by the liferay-ui:ice-info-data-paginator composite component.

      The workaround for this problem is to simply call setFirst(0) when the search button is clicked.

        Attachments

          Activity

            People

            • Assignee:
              neil.griffin Neil Griffin
              Reporter:
              neil.griffin Neil Griffin
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                liferay-faces-3.0.0-ga1
                liferay-faces-3.1.0-ga1