[JBoss JIRA] Created: (RF-4758) rich:datatable sorting all tables when they are in a a4j:repeat
by Leonardo Bernardelli (JIRA)
rich:datatable sorting all tables when they are in a a4j:repeat
---------------------------------------------------------------
Key: RF-4758
URL: https://jira.jboss.org/jira/browse/RF-4758
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.2.2
Environment: Jboss 4.2.2 Jboss seam 2.0.2GA firefox 3.0.3 IE 6
Reporter: Leonardo Bernardelli
I have a <rich:datatable> into a <a4j:repeat> tag, when a I sort a column in a table, all tables are being sorted.
Code Example:
<a4j:repeat id="containers" value="#{personContainerController.listPersonContainerByCommunityAndSpaceAcronym(identity.currentCommunity, page)}" var="container" rowKeyVar="rowCount">
<h:form id="yellowPagesList" styleClass="inline">
<s:div id="div-list-id" styleClass="div-list" rendered="#{identity.hasPermission(constantsUtil.getEventKey('LIST_PROFILE_EVENT_KEY'), identity.currentCommunity)}">
<rich:dataTable id="listPerson#{container.id}" value="#{personController.listActivePersonByPersonContainerPrefix(container, param['initialLetter'])}" var="person"
cellspacing="2px"
styleClass="table div-table-list"
rowClasses="table-row-background-gray table-row-background-gray-spacing,table-row-background-white table-row-background-white-spacing">
<rich:column id="col1#{container.id}" headerClass="table-title table-title-spacing" sortBy="#{person.name}" >
<f:facet id="tit1" name="header">
<h:outputText value="#{container.role.name} (#{personController.getPeopleListFromMap(container).size})" />
</f:facet>
<h:graphicImage value="#{person.contractType.imageURL}" />
<rich:spacer width="5" />
<s:link id="viewPersonName" value="#{person.name}" action="viewProfile">
<f:param value="#{person.id}" name="personId" />
</s:link>
</rich:column>
<rich:column id="col2#{container.id}" headerClass="table-title table-title-spacing" sortBy="#{person.key}">
<f:facet id="tit2" name="header">
<h:outputText value="#{messages['person.key']}" />
</f:facet>
<s:link id="viewPersonKey" value="#{person.key}" action="viewProfile">
<f:param value="#{person.id}" name="personId" />
</s:link>
</rich:column>
<rich:column id="col3#{container.id}" headerClass="table-title table-title-spacing" sortBy="#{person.nickname}">
<f:facet name="header">
<h:outputText value="#{messages['person.nickname']}" />
</f:facet>
<s:link id="viewPersonNickName" value="#{person.nickname}" action="viewProfile">
<f:param value="#{person.id}" name="personId" />
</s:link>
</rich:column>
<rich:column id="col4#{container.id}" headerClass="table-title table-title-spacing" sortBy="#{person.operationArea}">
<f:facet name="header">
<h:outputText value="#{messages['person.operationArea']}" />
</f:facet>
<h:outputText value="#{person.operationArea}" />
</rich:column>
</rich:dataTable>
</s:div>
</h:form>
</a4j:repeat>
--
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] Closed: (RF-736) no attribute in FuncSpec
by Alexander Dubovsky (JIRA)
[ https://jira.jboss.org/jira/browse/RF-736?page=com.atlassian.jira.plugin.... ]
Alexander Dubovsky closed RF-736.
---------------------------------
Assignee: Nick Belaevski (was: Alexander Dubovsky)
> no attribute in FuncSpec
> ------------------------
>
> Key: RF-736
> URL: https://jira.jboss.org/jira/browse/RF-736
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.1.0
> Environment: no attribute in FuncSpec
> Reporter: Aleksej Yanul
> Assignee: Nick Belaevski
>
> <rich:calendar
> converterMessage
> currentDate
> direction
> enableManualInput
> height
> inputStyle
> inputType
> jointPoint
> localValueSet
> monthLabelsShort
> optionalFooter
> optionalHeader
> requiredMessage
> showInput
> valid
> validatorMessage
> weekDayLabelsShort
> width
> />
> <rich:dropDownMenu
> submitMode
> />
> <rich:menuGroup
> converter
> />
> <rich:menuItem
> actionExpression
> ajaxSingle
> beforeUpdate
> bypassUpdates
> data
> eventsQueue
> focus
> ignoreDupResponses
> limitToList
> oncomplete
> requestDelay
> reRender
> status
> timeout
> />
> <rich:toolTip
> delay
> onkeydown
> onkeypress
> onkeyup
> onmousedown
> onmouseup
> zorder
> />
> <rich:message
> ajaxRendered
> keepTransient
> markerStyle
> style
> />
> <rich:messages
> ajaxRendered
> keepTransient
> markerStyle
> style
> />
> <rich:panelMenu
> converter
> converterMessage
> disabled
> disabledGroupStyle
> immediate
> localValueSet
> onkeydown
> onkeypress
> onkeyup
> onmousedown
> onmouseup
> required
> requiredMessage
> valid
> validator
> validatorMessage
> value
> valueChangeListener
> />
> <rich:panelMenuGroup
> accesskey
> align
> alt
> converter
> converterMessage
> expanded
> localValueSet
> maxlength
> onblur
> onchange
> onclick
> ondblclick
> onfocus
> onkeydown
> onkeypress
> onkeyup
> onmousedown
> onmouseup
> onselect
> required
> requiredMessage
> size
> tabindex
> valid
> validator
> validatorMessage
> value
> valueChangeListener
> />
> <rich:panelMenuItem
> actionExpression
> disabled
> ondblclick
> onkeydown
> onkeypress
> onkeyup
> value
> />
--
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] Closed: (RF-738) no FuncSpec on components
by Alexander Dubovsky (JIRA)
[ https://jira.jboss.org/jira/browse/RF-738?page=com.atlassian.jira.plugin.... ]
Alexander Dubovsky closed RF-738.
---------------------------------
Assignee: Nick Belaevski (was: Alexander Dubovsky)
> no FuncSpec on components
> -------------------------
>
> Key: RF-738
> URL: https://jira.jboss.org/jira/browse/RF-738
> Project: RichFaces
> Issue Type: Bug
> Affects Versions: 3.1.0
> Reporter: Aleksej Yanul
> Assignee: Nick Belaevski
>
> 6.25. < rich:dataFilterSlider >
> 6.26. < rich:datascroller >
> 6.27. < rich:columnGroup >
> 6.28. < rich:column >
> 6.29. < rich:dataGrid >
> 6.30. < rich:dataList >
> 6.31. < rich:dataOrderedList >
> 6.32. < rich:dataDefinitionList >
> 6.33. < rich:dataTable >
> 6.34. < rich:subTable >
> 6.35. < rich:dndParam >
> 6.36. < rich:dragIndicator >
> 6.37. < rich:dragSupport >
> 6.38. < rich:dropSupport >
> 6.40. < rich:effect >
> 6.41. < rich:menuGroup >
> 6.42. < rich:menuItem >
> 6.43. < rich:menuSeparator >
> 6.44. < rich:gmap >
> 6.45. < rich:virtualEarth >
> 6.46. < rich:inputNumberSlider >
> 6.47. < rich:inputNumberSpinner >
> 6.48. < rich:insert >
> 6.51. < rich:modalPanel >
> 6.55. < rich:paint2D >
> 6.56. < rich:panel >
> 6.57. < rich:panelBar >
> 6.58. < rich:panelBarItem >
> 6.59. < rich:separator >
> 6.60. < rich:simpleTogglePanel >
> 6.61. < rich:spacer >
> 6.62. < rich:suggestionbox >
> 6.63. < rich:tabPanel >
> 6.64. < rich:tab >
> 6.65. < rich:togglePanel >
> 6.66. < rich:toggleControl >
> 6.67. < rich:toolBar >
> 6.68. < rich:toolBarGroup >
> 6.70. < rich:tree >
> 6.71. < rich:treeNode >
--
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-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-7077) TrPage not defined
by Dave Chen (JIRA)
TrPage not defined
------------------
Key: RF-7077
URL: https://jira.jboss.org/jira/browse/RF-7077
Project: RichFaces
Issue Type: Bug
Affects Versions: 3.3.0
Environment: tomahawk(1.1.8), trinidad(1.2.11), JSF ri 1.2.12, Jboss version: 5.0.1GA, Window Xp, IE7
Reporter: Dave Chen
We have jsf pages that uses tomahawk(1.1.8) and trinidad(1.2.11) with JSF ri 1.2.12.
For trinidad, we use <tr:commankLink> only for dialog framework. Jboss version: 5.0.1GA.
>From client source viewer:
TrPage is used before loading /adf/jsLibs/Common1_2_11.js that defines TrPage.
<script type="text/javascript">TrPage.getInstance()._addResetFields('j_id_jsp_500896631_1pc4',["source"]);</script>
.....
<script type="text/javascript" src="/adf/jsLibs/Common1_2_11.js">
The Common1_2_11.js should be added first if there is any Common functions used in the page. A request scope flag can be used to indicate if the Common1_2_11.js has been included in the page.
--
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