| Modifier and Type | Method and Description |
|---|---|
static java.lang.String | getLoadScript(java.lang.String screenName) Returns JavaScript code to load and create a Screen by name. |
static java.lang.String | getLoadScript(java.lang.String screenName, java.lang.String ownerId) Returns JavaScript code to load and create a Screen by name. |
public static java.lang.String getLoadScript(java.lang.String screenName)
throws java.lang.Exception screenName - The name of the Screen to load. For Screens coming from the filesystem, the name is everything before any file extension. So for example if you have a Foo.ui.xml file, the name you would provide to this method should be "Foo".java.lang.Exceptionpublic static java.lang.String getLoadScript(java.lang.String screenName,
java.lang.String ownerId)
throws java.lang.Exception screenName - The name of the Screen to load. For Screens coming from the filesystem, the name is everything before any file extension. So for example if you have a Foo.ui.xml file, the name you would provide to this method should be "Foo".ownerId - The owner of the specified screen. Only applicable if screen source supports owner identification.java.lang.Exception