[richfaces-issues] [JBoss JIRA] Created: (RF-11434) datascroller broken in 4.1.0.M1

Brendan Healey (JIRA) jira-events at lists.jboss.org
Tue Sep 27 04:39:26 EDT 2011


datascroller broken in 4.1.0.M1
-------------------------------

                 Key: RF-11434
                 URL: https://issues.jboss.org/browse/RF-11434
             Project: RichFaces
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: component-tables
    Affects Versions: 4.1.0.Milestone1
         Environment: Mojarra 2.1.3
            Reporter: Brendan Healey


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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the richfaces-issues mailing list