viewRootVar

In a JSF handler, the viewRootVar property specifies a UIViewRoot variable to represent the page's JSF component tree. After the viewRootVar variable is defined, you can define other EGL variables to represent JSF components on the page by using the viewRootVar variable to link the variables to the JSF components. For more information, see "Component tree access."

The viewRootVar property is required for JSF handlers that access the JSF component tree. Also, if the viewRootVar property is specified, the JSF handler must create a UIViewRoot variable with the name specified in the viewRootVar property.

To assign an EGL variable to a JSF component, use the findComponent() function of the viewRootVar variable. See Component tree access for an example.

Compatibility

Table 1. Support for viewRoorVar property
Data item JSF handler VGUI record Console UI Text Form Java™ Text Form COBOL Print Form Java Print Form COBOL
No Yes No No No No No No

Feedback