[KULRICE-8565] Collection table starts not displaying after returning from a controller called dialog. Created: 20/Nov/12  Updated: 16/Jan/15

Status: Open
Project: Kuali Rice Development
Component/s: Development
Affects Version/s: 2.2.0-m4
Fix Version/s: Backlog
Security Level: Public (Public: Anyone can view)

Type: Bug Fix Priority: Major
Reporter: Cody Glover (Inactive) Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: Old
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Compiling under Jdk6u35 and running on tomcat 7 application server

Attachments: JPEG File AfterDialog.jpg     JPEG File AfterPressingATableButton.jpg     JPEG File BeforeDialog.jpg     JPEG File DuringDialog.jpg     XML File RegistrationWindowsEditPage.xml     XML File RegistrationWindowsManagementView.xml    
Issue Links:
discovered by KSENROLL-952 Confirmation for delete and break app... Closed
Similar issues:
KULRICE-9614Dialogs not correctly returning to controller method
KULRICE-7446Implement return from dialog
KULRICE-9059Issue with displaying dialog from within a collection line action method
KULRICE-4712Make control for additional property display
KULRICE-8353Lookup controller does not check return of validation call
KULRICE-7445Controller Hooks to askQuestion , showDialog Lightbox
KULRICE-13182Reorder calling of authorizers and presentation controllers
KULRICE-8319Expressions not being evaluated for components in a dialog group
KULRICE-9691js error when delete the last line from collection with Add Blank Line button
KULRICE-12133Allow use of progressive paging with Paging table collections in KRAD
Rice Module:
KRAD Feature Area:
UIF Component
Application Requirement:
KAI Review Status: Not Required
KTI Review Status: Not Required


Conditions: Encountered issue when adding dialog confirmation to a collection table. The collection uses Uif-Disclosure-TableCollectionSection and is on the second page of a multiple page view. The collection data is based on the selection from a drop down control on the page. The response to the dialog can be either affirmative or negative.

Effects: When the dialog is displayed the page shown in the background does not display the collection table at all. When the dialog is returned w/ either yes or no the table displays correctly though no highlighting is present. When interacting with additional actions buttons like add, the page will change and the action preformed to the collection but the component will no longer be displayed in any way. If another action outside the table or refresh happens the table will display without highlighting.

The table has a condition for rendering but the issue happens with the table set to always render as well.
This effects other collection tables on the page in the same manner. If the confirmation is called on table 1 then button interactions in table 2 will cause table 2 to disappear but table 1 will still be shown. Attempted to to try different render options and refresh options on the table.
Other objects will still display correctly.

Example Bean xml files used have been attached. The controller code example:

@RequestMapping(params = "methodToCall=deleteLineThroughDialog")
public ModelAndView deleteLineWithDialog(@ModelAttribute("KualiForm") RegistrationWindowsManagementForm uifForm, @SuppressWarnings("unused") BindingResult result, @SuppressWarnings("unused") HttpServletRequest request, @SuppressWarnings("unused") HttpServletResponse response) {
            String dialog = AppointmentConstants.Registration_Windows_ConfirmDelete_Dialog;
            if (!hasDialogBeenDisplayed(dialog, uifForm)){
                AppointmentWindowWrapper window = _getSelectedWindow(uifForm, "Delete a Window");

                //redirect back to client to display lightbox
                return showDialog(dialog,uifForm, request, response);

            boolean confirmDelete=getBooleanDialogResponse(dialog,uifForm,request,response);
        }catch (Exception e){
            return getUIFModelAndView(uifForm);

Comment by Larry Symms [ 26/Jun/13 ]

was there a workaround put in place for this or was it resolved?

Comment by Cody Glover (Inactive) [ 26/Jun/13 ]

Found in KSENROLL-952. KSENROLL-952 issue was resolved with a work around of using redirects to refresh the page between dialogs.

Generated at Fri Jun 05 05:28:22 CDT 2020 using JIRA 6.1.5#6160-sha1:a61a0fc278117a0da0ec9b89167b8f29b6afdab2.