myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramya (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (TRINIDAD-2527) Row selection retains with tr:table
Date Fri, 04 May 2018 13:29:00 GMT

    [ https://issues.apache.org/jira/browse/TRINIDAD-2527?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16463864#comment-16463864
] 

ramya commented on TRINIDAD-2527:
---------------------------------

currently we tried with both 2.2.0 and 2.2.1 versions, is there any other version available
for this fix.

Observed one more issue ie table pagination and below is the issue description.
 * Page is having table with rows="10" and selected the " 11- 20 of 30 "
 *  navigating to some other page 
 * coming back to the original page, table is loading with previously selected rows and radio/check
box selection

 
<tr:table id="myTableId"rowSelection="single"value="#\{myBean.myList}" *{color:#FF0000}rows="10"{color}*var="groups"
varStatus="rowId" rowBandingInterval="1" verticalGridVisible="true"selectionListener="#\{myBackingBean.myRowSelectListener}">
...
 

> Row selection retains with tr:table
> -----------------------------------
>
>                 Key: TRINIDAD-2527
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-2527
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Archetype
>    Affects Versions: 2.1.1-core
>         Environment: Windows 7, Java 7
>            Reporter: Deepan
>            Priority: Major
>   Original Estimate: 120h
>  Remaining Estimate: 120h
>
> A page contains <tr:table> with rowSelection as "Single/Multiple" and the beans
are session scoped. 
> - Select a row using the radio or checkbox
> - Navigate to some other pages
> - Again come back to page 1. Now, previously selected radio or checkbox are selected.

> {code:title=Sample code|borderStyle=solid}
> <tr:table id="myTableId"
> rowSelection="single"
> value="#{myBean.myList}"
> var="groups" varStatus="rowId" rowBandingInterval="1" verticalGridVisible="true"
> selectionListener="#{myBackingBean.myRowSelectListener}">
> ...
> ...
> </tr:table>
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message