From 92b244746fbd459ba68057af919a0d8ee5c4518a Mon Sep 17 00:00:00 2001 From: Thomas <> Date: Mon, 6 Dec 2021 13:54:19 +0100 Subject: update IGuiBuilderConfiguration to indicate asynchronous GUI rendering --- .../core/impl/gui/AbstractGuiFormBuilderConfiguration.java | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'eaaf_core') diff --git a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/gui/AbstractGuiFormBuilderConfiguration.java b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/gui/AbstractGuiFormBuilderConfiguration.java index b0718f85..f8e64c1a 100644 --- a/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/gui/AbstractGuiFormBuilderConfiguration.java +++ b/eaaf_core/src/main/java/at/gv/egiz/eaaf/core/impl/gui/AbstractGuiFormBuilderConfiguration.java @@ -31,6 +31,7 @@ import org.slf4j.LoggerFactory; import at.gv.egiz.eaaf.core.api.gui.GroupDefinition; import at.gv.egiz.eaaf.core.api.gui.GroupDefinition.Type; import at.gv.egiz.eaaf.core.api.gui.IGuiBuilderConfiguration; +import lombok.Setter; /** * Abstract Configuration implementation for GUI Builders. @@ -63,6 +64,9 @@ public abstract class AbstractGuiFormBuilderConfiguration implements IGuiBuilder private String authUrl = null; private String viewName = null; private String formSubmitEndpoint = null; + + @Setter + private boolean writeAsynch = true; private final Map params = new HashMap<>(); @@ -137,6 +141,13 @@ public abstract class AbstractGuiFormBuilderConfiguration implements IGuiBuilder } + + @Override + public final boolean isWriteAsynch() { + return this.writeAsynch; + + } + /** * Define the parameters, which should be evaluated in the template.
* IMPORTANT: external HTML escapetion is required, because it is NOT -- cgit v1.2.3