Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-11434

datascroller broken in 4.1.0.M1 (partial state saving disabled)

    Details

      Description

      I have an extendedDataTable with a datascroller. The first page of results
      displays correctly, but on pressing the control for page 2 (or any other)
      nothing happens. Using a4j:log I see that the ajax response to the post
      request contains a java.lang.NullPointerException.

      On reverting to 4.0.0.Final it works successfully. The problem also affects
      a rich:dataTable. I've not been able to locate the M2 release in the Maven
      repo to test it.

      The extendedDataTable value attribute value is a straightforward List<Event>
      where Event is a standard pojo. I was using ExtendedDataModel but removed
      this code to eliminate this as a cause.

      <h:form id="displayform" prependId="false">
        <rich:panel>
          <rich:tabPanel id="uppertabs" switchType="ajax"
                         itemChangeListener="#{manageEventsView.upperTabChange}">
            <rich:tab id="list" title="#{msgs.listText}">
              <ui:include src="manageEvents/list.xhtml"/>
            </rich:tab>
      ...
      
      manageEvents/list.xhtml
          <a4j:log/>
          <rich:extendedDataTable
              id="eventlist"
              rows="8"
              value="#{manageEventsView.list}" var="var"
              selection="#{manageEventsView.listSelectedRow}"
              selectionMode="single"
              style="display: block; white-space: nowrap">
              <a4j:ajax render="eventlist lowertabs"
                        event="selectionchange"
                        listener="#{manageEventsView.listRowSelect}"/>
              <rich:column style="text-align: center">
              ...
              </rich:column>
          </rich:extendedDataTable>
          <rich:dataScroller for="eventlist"/>
      

      Please let me know if I can provide any further information.

      Regards,
      Brendan.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                healeyb Brendan Healey
              • Votes:
                2 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: