[JBoss JIRA] Created: (RF-6279) Seam excel generating problem with rich dataTable sorting and filtering features.
by Mikhail Vitenkov (JIRA)
Seam excel generating problem with rich dataTable sorting and filtering features.
---------------------------------------------------------------------------------
Key: RF-6279
URL: https://jira.jboss.org/jira/browse/RF-6279
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: IE6, IE7, FF 3.1.3, Safari 3.1, Opera 9.62, Chrome 1.0.154.43(3.3.0.GA, seam 2.0.2.GA)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
#1. Put jboss-seam-excel.jar and jxl.jar in your project lib folder.
#2. Configure web.xml following way:
<servlet>
<servlet-name>Document Store Servlet Excel</servlet-name>
<servlet-class>org.jboss.seam.excel.DocumentStoreServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Document Store Servlet Excel</servlet-name>
<url-pattern>*.xls</url-pattern>
</servlet-mapping>
<context-param>
<param-name>webAppRootKey</param-name>
<param-value>seam-excel</param-value>
</context-param>
#3. Configure components.xml. Add following string:
In taglib: xmlns:excel="http://jboss.com/products/seam/excel"
<excel:document-store use-extensions="true"/>
#4. Add following code on the page:
<h:form id="theForm">
<rich:dataTable value="#{excel.dataModel}" var="dat"
id="theDataTable">
<rich:column sortBy="#{dat}" selfSorted="true"
filterBy="#{dat}" filterEvent="onblur">
<h:outputText value="#{dat}" />
</rich:column>
</rich:dataTable>
<h:commandLink value="Export"
action="#{org.jboss.seam.excel.excelExporter.export('theForm:theDataTable')}" />
</h:form>
#5. Navigate to the page and sort dataTable data descending by click on column header.
#6. Click "Export" and verify excel exported data. - data in initial order present.
#7. Make filtering, click "Export" and verify excel exported data again. - all rows are present regardless of data filtering.
Actual behavior: filtering and sorting don't have an influence on excel exported data.
--
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
16 years, 10 months
[JBoss JIRA] Created: (RF-6688) ScrollableDataTable. Selection over RowKey instead of index.
by Alexander Buttau (JIRA)
ScrollableDataTable. Selection over RowKey instead of index.
------------------------------------------------------------
Key: RF-6688
URL: https://jira.jboss.org/jira/browse/RF-6688
Project: RichFaces
Issue Type: Bug
Components: ScrollableDataTable
Affects Versions: 3.3.0
Environment: richfaces-api-3.3.1-20090204
Tomcat 6.0.18
Reporter: Alexander Buttau
ScrollableDataTable uses row indexes to store selection on client side, this causes a problem if bound data changes (new rows added or removed by another parallel transaction).
For example.
First user opens a page. ScrollableDataTable has 3 records.
In a parallel transaction inserts a second user a new record (as a first row = on index 0)
First user selects first row and execute some action. Selection object on the server-side returns a row, which was added by the secon user, and not the row which was realy selected by first user.
i also added a test-project: simple page with SDT and two buttons "Selection" (shows current selection) and "Add Row" (inserts a new row on position 0)
to reproduce a bug select a row, click "add row" and then "selection", you'll see that selection is wrong.
selection must be saved not as indexes on client side, but as rowkeys(which can be defined as a real IDs of records in DB).
--
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
16 years, 10 months
[JBoss JIRA] Created: (RF-3955) dataFilterSlider:following handlers doesn't work for the component:"onSlideSubmit", "onmousemove", "ondblclick", "onmouseout", "onkeyup", "onkeypress", "onkeydown", "onchange", "onmouseover", "onslide", "onerror", "onmouseup", "onclick","onmousedown","onSlideSubmit"
by Mikhail Vitenkov (JIRA)
dataFilterSlider:following handlers doesn't work for the component:"onSlideSubmit","onmousemove","ondblclick","onmouseout","onkeyup","onkeypress","onkeydown","onchange","onmouseover","onslide","onerror","onmouseup", "onclick","onmousedown","onSlideSubmit"
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: RF-3955
URL: https://jira.jboss.org/jira/browse/RF-3955
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: ie6, ie7, ff 3.0, safari 3.1, opera 9.5(3.2.2.BETA1)
Reporter: Mikhail Vitenkov
Assignee: Nick Belaevski
--
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
16 years, 10 months