UI Framework - Framework code improvements (KULRICE-6671)

[KULRICE-6838] UIF Framework - Framework Improvements (AJAX Improvements) Created: 27/Feb/12  Updated: 03/Apr/13  Resolved: 17/Jul/12

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

Type: Sub Task Priority: Critical
Reporter: Jerry Neal (Inactive) Assignee: Sona Sona (Inactive)
Resolution: Complete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relate
relates to KULRICE-6007 Session timeout on Ajax request not d... Closed
Similar issues:
KULRICE-7472CLONE - UIF Framework - Framework Improvements (AJAX Improvements)
KULRICE-6837UIF Framework - Framework Improvements (Field Component Changes)
KULRICE-6840UIF Framework - Framework Improvements (Template Cleanup)
KULRICE-7474CLONE - UIF Framework - Framework Improvements (Template Cleanup)
KULRICE-6839UIF Framework - Framework Improvements (CSS Rework)
KULRICE-7473CLONE - UIF Framework - Framework Improvements (CSS Rework)
KULRICE-7471CLONE - UIF Framework - Framework Improvements (Field Component Changes)
KULRICE-6671UI Framework - Framework code improvements
KULRICE-4737Improve configuration of development framework
KULRICE-6736Document the UI Framework code improvements
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



 Comments   
Comment by Sona Sona (Inactive) [ 03/Jul/12 ]

Committed the second set of changes with the wrong jira jira#KULRICE-7484. But it includes the following changes

1. 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

Comment by Jerry Neal (Inactive) [ 17/Jul/12 ]

Jiras for outstanding items will be created in m3

Generated at Tue Jun 02 09:58:48 CDT 2020 using JIRA 6.1.5#6160-sha1:a61a0fc278117a0da0ec9b89167b8f29b6afdab2.