Info Window - remember selection during pagination

Description

Selected rows should by remembered during switching between multiple pages.

Steps to reproduce:
1. Open Info window where will be multiple pages
2. Select some rows on first page
3. Switch to second page and select other records
4. Switch back to first page > selection is lost = BUG/IMPROVEMENT

Environment

None

Attachments

2

Activity

Show:

Nicolas Micoud October 19, 2017 at 7:34 AM

ok thanks,
it was confusing because getSaveKeys has a param and getSelectedRowKeys has not

Nicolas

Hiep Lq October 19, 2017 at 7:29 AM

i guess it rename to getSaveKeys

Nicolas Micoud October 19, 2017 at 7:22 AM

Hi,

In the commit, the InfoPanel.getSelectedRowKeys method was deprecated.
The inline comment says : @deprecated this function should deprecated and replace with {@link #getListKeyValueOfSelectedRow()} to support view at infoWindow.
But I can't find a getListKeyValueOfSelectedRow method.

I also see that the InfoPanel.saveSelection is still using it.

Can you clarify please ?

Thanks,

Nicolas

Tomáš Švikruha November 2, 2015 at 6:47 AM

that's the case why we needed ViewID (). This could be used also in this case but question is how? I also met something similar while testing IDEMPIERE-2709.

Carlos Ruiz October 30, 2015 at 2:15 PM

After review if I noticed that this won't work if enabled multi-selection on an InfoWindow like business partner where there can be multiple lines with the same BP Key.

It works fine with InfoProduct because each line is a different product.

Fixed

Details

Assignee

Reporter

Tested By

Carlos Ruiz
Norbert Bede

Priority

Created October 7, 2014 at 12:28 PM
Updated October 19, 2017 at 7:34 AM
Resolved August 19, 2015 at 10:19 PM