Bookshelf Home | Contents | Index | PDF |
Siebel Advisor API Reference > Application File Reference for Siebel Advisor > Files in the jd DirectoryThe jd directory contains the application module registry and its associated files. You will not need to edit the files in this directory often, but if you plan to deploy your application in multiple languages, you might want to customize text contained inside the intl.js file. intl.jsThis file contains the text strings used in alert messages. You can edit these strings to internationalize your application. Additionally, if your application contains custom code that requires text strings, you should define the strings inside this file. To define a text string inside the intl.js file
To call the text string you defined, use the following syntax inside your custom code: ISS.ErrIntern(STRINGNAME[, arg1, arg2, ... arg_n]) _SWEmsgAry["TESTMSG"]= "%1 Fish, %2 Fish, %3 Fish, %4 Fish"; Inside your code, call the text string: ISS.ErrIntern(ISS.TESTMSG,"one","two","red","blue"); Loading and Processing Messages You can optionally tailor the messages that users see when Siebel Advisor is loading the application or is processing an input request. To do this:
Open the intl.js file with a text editor and define one or both variables as follows: _SWEmsgAry["ISSCDA_DEFAULT_DATA_LOAD_STR"] = "Data Loading..."; _SWEmsgAry["ISSCDA_DEFAULT_CALC_PAGE_STR"] = "Calculating..."; Replace the text string within quotes on the right side of the equal (=) sign with the text of your choice. |
Siebel Advisor API Reference | Copyright © 2015, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |