Details
-
Type:
Task
-
Status: Closed
-
Priority:
Critical
-
Resolution: Fixed
-
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
We need to externalize any text that is presented to the user through script. The attached document contains all the locations where we have text.
For each of these, the text needs to be pulled out and put in KRADApplicationResources.properties (with a key). Then in script the message text can be retrieved with:
var dirtyMessage = getMessage(kradVariables.MESSAGE_KEY_DIRTY_FIELDS);
Notice a variable for the message key was created in krad.variables.js
Attachments
Issue Links
- cloned from
-
KULRICE-7208 Template
-
- Closed
-
- cloned to
-
KULRICE-8326 Externalize all dictionary text
-
- Closed
-
- relates to
-
KULRICE-6676 UI Framework - Central Repository for Message Content
-
- Closed
-
Matt,
There is a compile error in krad.request.js that breaks all script. It appears we cannot call getMessage within object initialization. The issue might be that krad.utility.js is not loaded yet.
We can try moving krad.request.js to load after krad.utility.js. Or another option might be to but the prototype in a jQuery.ready block.
thanks,
Jerry