Uploaded image for project: 'Kuali Rice Development'
  1. Kuali Rice Development
  2. KULRICE-8565

Collection table starts not displaying after returning from a controller called dialog.

    Details

    • Type: Bug Fix
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.2.0-m4
    • Fix Version/s: Backlog
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
    • Environment:
      Compiling under Jdk6u35 and running on tomcat 7 application server
    • Rice Module:
      KRAD
    • KRAD Feature Area:
      UIF Component
    • Application Requirement:
      KS
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      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.

      Observations:
      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) {
      try{
                  String dialog = AppointmentConstants.Registration_Windows_ConfirmDelete_Dialog;
                  if (!hasDialogBeenDisplayed(dialog, uifForm)){
                      AppointmentWindowWrapper window = _getSelectedWindow(uifForm, "Delete a Window");
                      uifForm.setSelectedAppointmentWindow(window);
      
                      //redirect back to client to display lightbox
                      return showDialog(dialog,uifForm, request, response);
                  }
      
                  boolean confirmDelete=getBooleanDialogResponse(dialog,uifForm,request,response);
                  uifForm.getDialogManager().resetDialogStatus(dialog);
                  if(!confirmDelete){
                      getUIFModelAndView(uifForm);
                  }
              }catch (Exception e){
                  
                  return getUIFModelAndView(uifForm);
              }
              getUIFModelAndView(uifForm);
      

        Attachments

        1. AfterDialog.jpg
          AfterDialog.jpg
          206 kB
        2. AfterPressingATableButton.jpg
          AfterPressingATableButton.jpg
          104 kB
        3. BeforeDialog.jpg
          BeforeDialog.jpg
          183 kB
        4. DuringDialog.jpg
          DuringDialog.jpg
          97 kB
        5. RegistrationWindowsEditPage.xml
          20 kB
        6. RegistrationWindowsManagementView.xml
          2 kB

          Issue Links

            Activity

            Hide
            lsymms Larry Symms added a comment -

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

            Show
            lsymms Larry Symms added a comment - was there a workaround put in place for this or was it resolved?
            Hide
            johglov Cody Glover (Inactive) added a comment -

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

            Show
            johglov Cody Glover (Inactive) added a comment - Found in KSENROLL-952 . KSENROLL-952 issue was resolved with a work around of using redirects to refresh the page between dialogs.

              People

              • Assignee:
                Unassigned
                Reporter:
                johglov Cody Glover (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: