public interface DynamicScreenGenerator
DynamicScreenGenerators can be registered with the SmartClient Server framework via the
ScreenLoaderServlet.addDynamicScreenGenerator(DynamicScreenGenerator)method. The framework will call the
getScreenmethod of registered
DynamicScreenGeneratorswhenever it needs to obtain a screen, giving user code a means of generating screen definitions at runtime, rather than (or as well as) providing them as
.ui.xmlfiles in the filesystem.
|Modifier and Type||Method and Description|
| || |
java.lang.String getScreen(java.lang.String id)
Stringof XML representing the generated screen. If you do not wish to provide an instance for the given ID, return
nulland the system will go through its normal process for loading a screen. Please see the docs for
ScreenLoaderServlet.addDynamicScreenGenerator(DynamicScreenGenerator)for an important warning about this.
id- The ID of the screen the framework is trying to obtain