[KULRICE-10534] Multivalue lookup server side select for server side paging Created: 13/Sep/13 Updated: 21/Apr/14 Resolved: 30/Oct/13 |
|
Status: | Closed |
Project: | Kuali Rice Development |
Component/s: | Development, KNS Equivalency, User Experience (UX) |
Affects Version/s: | 2.4 |
Fix Version/s: | 2.4 |
Security Level: | Public (Public: Anyone can view) |
Type: | Task | Priority: | Critical |
Reporter: | Erik Meade | Assignee: | Erik Meade |
Resolution: | Fixed | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | 1 day, 6 hours | ||
Time Spent: | 1 week, 4 days, 5 hours, 51 minutes | ||
Original Estimate: | 2 days |
Attachments: |
![]() ![]() ![]() ![]() ![]() ![]() |
||||||||||||||||||||||||||||||||||||||||||||||||
Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||||||
Epic Link: | Lookup Equivalence | ||||||||||||||||||||||||||||||||||||||||||||||||
Rice Module: |
KRAD
|
||||||||||||||||||||||||||||||||||||||||||||||||
Sprint: | 2.4.0-m2 KRAD Sprint 3, 2.4.0-m2 KRAD Sprint 4, 2.4.0-m3 KRAD Sprint 1, 2.4.0-m3 KRAD Sprint 2 | ||||||||||||||||||||||||||||||||||||||||||||||||
KAI Review Status: | Not Required | ||||||||||||||||||||||||||||||||||||||||||||||||
KTI Review Status: | Not Required | ||||||||||||||||||||||||||||||||||||||||||||||||
Code Review Status: | Not Required | ||||||||||||||||||||||||||||||||||||||||||||||||
Include in Release Notes?: |
Yes
|
Description |
Select All/Deselect All needs to be done server side (due to server side paging). Also, need to add records to travel account so we can test server side paging and this functionality |
Comments |
Comment by Erik Meade [ 23/Sep/13 ] |
TableLayoutManager.buildLine(View view, Object model, CollectionGroup collectionGroup, List<Field> lineFields, List<FieldGroup> subCollectionFields, String bindingPath, List<Action> actions, String idSuffix, Object currentLine, int lineIndex) if (collectionGroup.isIncludeLineSelectionField()) might be of importance, perhaps this is where we determine to check the selection in the UI from the server side state. RichTable.buildTableOptions(CollectionGroup collectionGroup) if (collectionGroup.isIncludeLineSelectionField()) might be the place for RichTable. CollectionLayoutUtils.setControlValueToLineIdentifier might be where if the control as a CheckboxControl we would set the checked state, assuming the checkbox state could be determined from here. ComponentUtils.updateContextForLine might be the correct place to set checked state of checkbox. |
Comment by Erik Meade [ 23/Sep/13 ] |
Method stack building the header |
Comment by Erik Meade [ 23/Sep/13 ] |
Method stack building line select |
Comment by Erik Meade [ 23/Sep/13 ] |
Where to keep the checkbox state maybe in UifFormBase.setExtensionData defined in the interface ViewModel? It looks like one could get the model and the extensionData from it in TableLayoutManager.buildLine and pass it to a modified ComponentUtils.updateContextForLine? |
Comment by Erik Meade [ 02/Oct/13 ] |
From Skype chat with Brian: <property name="collectionLookup"> <bean parent="Uif-CollectionQuickFinder" p:dataObjectClassName="org.kuali.rice.krad.demo.travel.dataobject.TravelAccount" p:fieldConversions="number:field1,name:field2,accountTypeCode:field3" p:viewName="YourCustomViewName"/> </property> probably dont need to set the dataObjectClassName if you define it in your view |
Comment by Erik Meade [ 03/Oct/13 ] |
Keep |
Comment by Erik Meade [ 03/Oct/13 ] |
Useful info from Sona: |
Comment by Erik Meade [ 03/Oct/13 ] |
Chat from Jerry: |
Comment by Erik Meade [ 10/Oct/13 ] |
Hack in forcing server side paging and ignoring errors that prevent screen from displaying. |
Comment by Erik Meade [ 13/Oct/13 ] |
Sona's MV Demo Collection Lookup updates as a patch |
Comment by Erik Meade [ 13/Oct/13 ] |
Non-Rich Table Select all on this page: Non-Rich Table Select all: |
Comment by Sona Sona (Inactive) [ 14/Oct/13 ] |
Hi Eric, I saw that too earlier and had discussed with the team if we would be supporting only datatables which was not the case. We need support for both. Also MV select and select all are both dependent on each other. So, the solution that we come up with should work for both. Please look at my email thread regarding the MVL analysis. The relates jiras are |
Comment by Adam Campbell (Inactive) [ 14/Oct/13 ] |
QA validation pending checkin |
Comment by Erik Meade [ 30/Oct/13 ] |
A bulk of the work is done, a few screens need updates for the collection to be returned to, Jiras have been written and linked to this task. |