[JBoss JIRA] Created: (RF-7918) rich:extendedDataTable ajax sort issue when used in with rich:tabPanel
by Akash Singla (JIRA)
rich:extendedDataTable ajax sort issue when used in with rich:tabPanel
----------------------------------------------------------------------
Key: RF-7918
URL: https://jira.jboss.org/jira/browse/RF-7918
Project: RichFaces
Issue Type: Bug
Components: component-ScrollableDataTable, component-tables
Affects Versions: 3.3.2.CR1, 3.3.1
Environment: JSF 1.2_12, JDK 1.6, richFaces 3.3.1 /3.3.2 CR1, facelets 1.1.14
Reporter: Akash Singla
Hi,
I'm using a rich:tabPanel layout for my pages.
Each page contains a rich:extendedDataTable.
Now, I switch between the tabs of the tabpanel and reach a page at random.
This page contains rich:extendedDataTable.
When I try to sort or group the table columns, the table data is lost and a white screen with an ajax-loader is rendered inside the table .
This is the ajax-loader path:
Code:
http://localhost:8080/faces/a4j/g/3_3_1.GAorg/richfaces/renderkit/html/im...
I have tried submit mode as ajax and server for the tabPanel and the problem is occuring for both.
Also, if I come to any of the pages of the tab-Panel through the menu-item in the toolbar of the application, the ajax sorting works fine.
But it breaks when moving within the tabs of the tab-panel.
Please Help.
Akash
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month
[JBoss JIRA] Created: (RF-8130) ExtendedDataTable reRender by external filter doen not reset row index
by Radu Banica (JIRA)
ExtendedDataTable reRender by external filter doen not reset row index
----------------------------------------------------------------------
Key: RF-8130
URL: https://jira.jboss.org/jira/browse/RF-8130
Project: RichFaces
Issue Type: Bug
Components: component
Affects Versions: 3.3.2.SR1
Environment: Mozilla Firefox 3.5.5, IE7
Reporter: Radu Banica
Use <f:facet name="filter"> to define the filter inside the rich:column.
The filter is rendered OK and table is reRendered, but the row indexes are not reset as in case of "filterBy" "filterEvent" attributes.
In the example below the external filter on column "External filter" does not reset the row index, while using <rich:column sortable="true" sortBy="#{_customer.firstname}" filterBy="#{_customer.firstname}" filterEvent="onkeyup" label="First Name"> rerenders the table and reset row index.
In the documentation says that using <f:facet name="filter"> should behave the same as using filterBy="..." and filterEvent="onkeyup"
Code example:
<rich:extendedDataTable id="customerSearchListTable"
var="_customer"
value="#{customerSearchList.resultList}"
sortMode="multi"
selectionMode="single"
width="500px" height="500px"
rendered="#{not empty customerSearchList.resultList}">
<rich:column label="External filter" sortable="false">
<f:facet name="filter">
<h:inputText immediate="true" value="#{customerSearchList.customer.lastname}" id="filterLastName"
onclick="Event.stop(event);" styleClass="rich-filter-input" >
<a:support id="onkeyupFName" event="onchange" reRender="customerSearchListTable"
ignoreDupResponses="true" requestDelay="700"/>
</h:inputText>
</f:facet>
<h:outputText value="#{_customer.id}"/>
</rich:column>
<rich:column sortable="true" sortBy="#{_customer.firstname}" filterBy="#{_customer.firstname}" filterEvent="onkeyup" label="First Name">
<f:facet name="header">
<h:outputText value="First Name" />
</f:facet>
<h:outputText value="#{_customer.firstname}"/>
</rich:column>
<rich:column sortable="true" sortBy="#{_customer.lastname}" filterBy="#{_customer.lastname}" filterEvent="onkeyup" label="Last Name">
<f:facet name="header">
<h:outputText value="Last Name" />
</f:facet>
<h:outputText value="#{_customer.lastname}"/>
</rich:column>
<rich:column sortable="false" styleClass="action" label="Action">
<f:facet name="header">
<h:outputText value="Action" />
</f:facet>
<a:commandLink value="Select" id="savecnt" reRender="primaryContactNameField"
oncomplete="Richfaces.hideModalPanel('modalPanel')"
title="Select customer #{_customer.id}">
<f:setPropertyActionListener value="#{_customer}"
target="#{companyHome.instance.primaryContact}"/>
</a:commandLink>
</rich:column>
</rich:extendedDataTable>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
15 years, 1 month