setTitle()
The ruiLib.setTitle() system function sets the title property of the Rich UI application.
The title property specifies the string that is displayed in the title bar of the browser.
If you want to localize the content of the title property, you can use a key from a Rich UI properties library as the parameter in the function call. For more information, see "Examples" in this topic and RUIPropertiesLibrary stereotype.
Syntax
ruiLib.setTitle("title")- title
- A STRING value that is to be used in the HTML
<title>tag, and therefore is displayed in the title bar of the browser.
Examples
The first example places a literal
string in the
<title> tag of the page.ruiLib.setTitle("Home page for EGL Rich UI");The
second example uses a key from a Rich UI properties library instead.
ruiLib.setTitle(myLibrary.someText);