[KULRICE-7858] Using a navigation action in a collection causes duplicate ajax submits Created: 09/Aug/12  Updated: 03/Apr/13  Resolved: 13/Aug/12

Status: Closed
Project: Kuali Rice Development
Component/s: Development
Affects Version/s: None
Fix Version/s: 2.2.0-m3, 2.2
Security Level: Public (Public: Anyone can view)

Type: Bug Fix Priority: Major
Reporter: Jerry Neal (Inactive) Assignee: Jerry Neal (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
cloned from KULRICE-7208 Template Closed
Rice Module:
KAI Review Status: Not Required
KTI Review Status: Not Required


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">
<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 = "@


" />

Comment by Jerry Neal (Inactive) [ 12/Aug/12 ]

From Venkat:

This issue related to my post yesterday. I noticed that if we multiple buttons at line action, each button in a row has incremental number of times of actionInvokeHandler(), which causes multiple submit. Looks like we have issue with actionFieldPrototype, which concatenates actionInvokeHandler() multiple times. I believe your fix for yesterdays issue should fix this one also. Please let us know once you check in your fix at m3 branch


Comment by Jerry Neal (Inactive) [ 18/Aug/12 ]

Applied to patch

Generated at Wed Mar 03 05:31:54 CST 2021 using JIRA 7.0.11#70121-sha1:19d24976997c1d95f06f3e327e087be0b71f28d4.