To clarify I can reproduce the problem by
simply changing the 1 line in the jsp where my bean has both ways to access the
data: <t:dataTable id="events" value="#{eventDataList.data}" var="event" To <t:dataTable id="events" value="#{eventDataList.dataModel}" var="event" From: Miller, John
[mailto:[EMAIL PROTECTED] Has anyone seen a problem like this? Any help would be
greatly appreciated! I have a dataTable/dataScroller combo Here is some of the
code <t:commandButton value="Update Event Status" /> <t:buffer into="#{eventTable}">
<t:dataTable id="events" value="#{eventDataList.data}" var="event"
…
<h:commandLink action="event-detail">
<t:updateActionListener
property="#{eventData}" value="#{event}" />
<f:verbatim>
<h:outputText value="#{event.eventId}" />
</f:verbatim>
</h:commandLink> …
<h:column>
<f:facet name="header">
<h:outputText value="Status" />
</f:facet>
<t:selectOneMenu value="#{event.eventStatus}"
valueChangeListener="#{event.updateStatus}">
<f:selectItems value="#{eventData.statusItems}" />
</t:selectOneMenu>
</h:column> … All this code works Great, paging works great, but I
need to implement the PagedListDataModel because the events table is ~2M records I implemented the PagedListDataModel Successfully
from the following WIKI page: http://wiki.apache.org/myfaces/WorkingWithLargeTables Everything with Paging and
viewing looks great, however now neither the valueChangeListener="#{event.updateStatus}" nor the <h:commandLink action="event-detail">
<t:updateActionListener
property="#{eventData}" value="#{event}" /> work. I have narrowed it down to I think
the Validation Phase of the DataTable is failing, the behavior is to return to
current page with the model unchanged. Does anyone have any thoughts???
|
- Problem with the PagedListDataModel from WIKI Miller, John
- RE: Problem with the PagedListDataModel from WIKI Miller, John