blockUIOnSubmit

Table of Contents
Name: org.icefaces.blockUIOnSubmit
Since: 2.0
Values: true|false
Scope: application, page

Application Scope

Setting org.icefaces.blockUIOnSubmit to true tells ICEfaces that the user interface (UI) should block any subsequent requests until the current request has been processed. This is provided to help prevent double-submits in applications that require this feature.

    <context-param>
        <param-name>org.icefaces.blockUIOnSubmit</param-name>
        <param-value>true</param-value>
    </context-param>
Page Scope

This feature can also be controlled on a per-page basis using the <ice:config> tag and setting the desired attribute.

    <icecore:config blockUIOnSubmit="true"/>

See the documentation on the <ice:config> tag for additional information.

While the UI is blocked there is also a transparent overlay rendered. This overlay has a CSS class assigned so that it can be styled in concordance with the rest of the application. By default the CSS styles are as follows:

.ice-blockui-overlay {
    position: absolute;
    background-color: white;
    z-index: 28000;
    opacity: 0.22;
    filter: alpha(opacity = 22);
}

Providing a stylesheet with new definitions for ice-blockui-overlay CSS class should be enough to override the default styling.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

© Copyright 2018 ICEsoft Technologies Canada Corp.