Details
-
Type:
Sub Task
-
Status: Closed
-
Priority:
Critical
-
Resolution: Complete
-
Affects Version/s: None
-
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
See KRAD 2.2 Requirement details, at https://wiki.kuali.org/display/KULRICE/Framework+Code+Improvements+-+Template%2C+and+CSS+refactoring%2C+Field-Component+Improvements%2C+Ajax+Improvements
This will cover the ajax improvements
Attachments
Issue Links
- relates to
-
KULRICE-6007 Session timeout on Ajax request not displayed
-
- Closed
-
- Trackbacks
-
Post-2.0 impacting changes This page tracks major impacting changes post 2.0 release. Things such as database or package name changes for example. This page will serve as a holding pen for information on those changes. 2.0 to 2.1....
Committed the second set of changes with the wrong jira jira#
KULRICE-7484. But it includes the following changes1. Add property ajaxSubmit to ActionField. When set to true this will submit the form using Ajax instead of the browser submit. Will default to updating the page contents.
2. Add property preSubmitCall to ActionField. This will invoke script before the form is submitted. A boolean will be returned to indicate whether the form submission should continue.
3. Add property successCallback to AjaxActionField. This will be invoked for succesful ajax calls.
4. Add property errorCallback to AjaxActionField. This will be invoked for failed ajax calls.
5. In krad.ajax, do cleanup to have an ajaxSubmitForm and stantard submitForm (browser). Methods to do validation before hand.
6. Refactoring action parameters to not do script writing of hiddens, but to use new 'data' attributes. For ajax calls the data attributes will be picked up and added to the ajax data. For standard browser submits the data attributes will be picked up and added as hiddens