Client-Side Framework and Components / Client-Side Framework internals |
The Client-Side Framework has a special component named main (gwc.componentSet.main).
The main component is bound to the <body> element and is considered the root of the Genero Web Client application. The component is located in csf.js to prevent it from modifications.
API | Description |
---|---|
gwc.api.getGwcRootElement | Get the root element of the Genero Web Client application in the HTML page. |
gwc.api.getActiveComponent | Get the active component. |
gwc.api.title | Get the title of the application. |
gwc.api.restoreServerFocus | Restore the UI focus to the element that should have it in a DVM point of view. |
gwc.api.riseClientError | Display a Client-Side Framework error message at the top of the browser window. |