use of com.servoy.j2db.server.ngclient.INGClientWindow.IFormHTMLAndJSGenerator in project servoy-client by Servoy.
the class NGClient method changesWillBeSend.
@Override
public void changesWillBeSend() {
reloadClientFunctionsSend = false;
if (toRecreate.size() > 0) {
NGClientWebsocketSessionWindows allWindowsProxy = new NGClientWebsocketSessionWindows(getWebsocketSession());
for (Pair<Form, String> pair : toRecreate) {
IFormHTMLAndJSGenerator generator = getWebsocketSession().getFormHTMLAndJSGenerator(pair.getLeft(), pair.getRight());
allWindowsProxy.updateForm(pair.getLeft(), pair.getRight(), generator);
}
toRecreate.clear();
}
if (showUrl != null) {
this.getWebsocketSession().getClientService(NGClient.APPLICATION_SERVICE).executeAsyncServiceCall("showUrl", new Object[] { showUrl.url, showUrl.target, showUrl.target_options, Integer.valueOf(showUrl.timeout) });
showUrl = null;
}
}
Aggregations