Search in sources :

Example 1 with ContainersScope

use of com.servoy.j2db.server.ngclient.scripting.ContainersScope in project servoy-client by Servoy.

the class WebFormUI method initContainerScopeIfNeeded.

/**
 * @param formController2
 */
private void initContainerScopeIfNeeded(IWebFormController fc) {
    if (fc.getForm().isResponsiveLayout()) {
        FormScope formScope = fc.getFormScope();
        ContainersScope containersScope = new ContainersScope(fc);
        // $NON-NLS-1$
        formScope.putWithoutFireChange("containers", containersScope);
    }
}
Also used : ContainersScope(com.servoy.j2db.server.ngclient.scripting.ContainersScope) FormScope(com.servoy.j2db.scripting.FormScope)

Aggregations

FormScope (com.servoy.j2db.scripting.FormScope)1 ContainersScope (com.servoy.j2db.server.ngclient.scripting.ContainersScope)1