Details
-
Type:
Task
-
Status: Closed
-
Priority:
Major
-
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
Remaining cleanup items:
- Need AjaxReturnType on Action component and pass through on actionHandler
- Remove renderFullView, not needed since we can look at the returnType
- Rename handleIncidentReport to checkForIncidentReport and cleanup code
- Remove old ajax code not needed anymore (like updatePageCallback)
- retrieveComponent has duplicate code with updateComponentHandler
- Make sure optional parameters are at end of ajax methods and documented as optional on the param tag
- Redo navigation action links so they don't call handleActionLink but use the standard ajax submit (passing navigateToPageId as submitdata)
- add constants in krad.variables.js for return types (like "update-page")
In UifDocumentDefinitions.xml, see if we can change:
<bean parent="Uif-PrimaryActionButton-Small" p:methodToCall="downloadAttachment"
p:actionLabel="download attachment" p:title="download attachment"
p:onClickScript="writeHiddenToForm("skipViewInit", "true");writeHiddenToForm("renderFullView", "false");writeHiddenToForm("unblockUIOnLoading", "true");writeHiddenToForm("actionParameters[selectedLineIndex]", "@
");"/>
to use dataAttributes for the hiddens (besides the one actionParameters which can write the property directly)
p:dataAttributes="skipViewInit:true, ..."
Attachments
Issue Links
- cloned from
-
KULRICE-7208 Template
-
- 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....
Might want to add to Action completeCallback as well for code that should run both on success and error