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

Using a navigation action in a collection causes duplicate ajax submits

    Details

    • Type: Bug Fix
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0-m3, 2.2
    • Component/s: Development
    • Security Level: Public (Public: Anyone can view)
    • Labels:
      None
    • Rice Module:
      KRAD
    • KAI Review Status:
      Not Required
    • KTI Review Status:
      Not Required

      Description

      We're using navigation action link in line actions as we need to navigate to different page or redirect to another controller. As we use navigation link, I see 2 ajax call to the server (actionInvokeHandler and performCollectionAction). Is there any way to skip the hardcoded performCollectionAction(). We really dont want performCollectionAction() here as we're using navigation link.

      <property name="lineActions">
      <list>
      <bean parent="Uif-NavigationActionLink" p:methodToCall="copyCourseOffering" p:actionLabel="Copy" />
      <bean parent="Uif-NavigationActionLink" p:methodToCall="loadAOs" p:actionLabel="Manage" />
      <bean parent="Uif-NavigationActionLink" p:methodToCall="edit" p:actionLabel="Edit " />
      <bean parent="Uif-NavigationActionLink" p:methodToCall="deleteCoConfirmation" p:actionLabel="Delete" p:render = "@

      {#line.isLegalToDelete()}

      " />
      </list>
      </property>

        Attachments

          Issue Links

            Activity

            jkneal Jerry Neal (Inactive) created issue -
            jkneal Jerry Neal (Inactive) made changes -
            Field Original Value New Value
            Link This issue cloned from KULRICE-7208 [ KULRICE-7208 ]
            jkneal Jerry Neal (Inactive) made changes -
            Issue Type Task [ 3 ] Bug Fix [ 1 ]
            Fix Version/s 2.2.0-m4 [ 16598 ]
            Fix Version/s 2.2-backlog [ 16475 ]
            Description We're using navigation action link in line actions as we need to navigate to different page or redirect to another controller. As we use navigation link, I see 2 ajax call to the server (actionInvokeHandler and performCollectionAction). Is there any way to skip the hardcoded performCollectionAction(). We really dont want performCollectionAction() here as we're using navigation link.

            <property name="lineActions">
                        <list>
                            <bean parent="Uif-NavigationActionLink" p:methodToCall="copyCourseOffering" p:actionLabel="Copy" />
                            <bean parent="Uif-NavigationActionLink" p:methodToCall="loadAOs" p:actionLabel="Manage" />
                            <bean parent="Uif-NavigationActionLink" p:methodToCall="edit" p:actionLabel="Edit " />
                            <bean parent="Uif-NavigationActionLink" p:methodToCall="deleteCoConfirmation" p:actionLabel="Delete" p:render = "@{#line.isLegalToDelete()}" />
                        </list>
                    </property>
            Assignee Jerry Neal [ jkneal ]
            jkneal Jerry Neal (Inactive) made changes -
            Start Date
            Fix Date 2012-08-13 [ set to sprint end date ]
            jkneal Jerry Neal (Inactive) made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            jkneal Jerry Neal (Inactive) made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            jkneal Jerry Neal (Inactive) made changes -
            Fix Version/s 2.2.0-m3 [ 16464 ]
            Fix Version/s 2.2.0-m4 [ 16598 ]
            jcoltrin Jessica Coltrin (Inactive) made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            spatterson Shem Patterson (Inactive) made changes -
            Workflow custom [ 151003 ] Copy of custom for rice [ 214743 ]
            spatterson Shem Patterson (Inactive) made changes -
            Workflow Copy of custom for rice [ 214743 ] custom [ 224491 ]
            spatterson Shem Patterson (Inactive) made changes -
            Workflow custom [ 224491 ] Rice Workflow [ 234239 ]

              People

              • Assignee:
                jkneal Jerry Neal (Inactive)
                Reporter:
                jkneal Jerry Neal (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: