From 62896137260872f5b45e5162d2c9d90bee4fbc5c Mon Sep 17 00:00:00 2001 From: GedMarc Date: Sat, 2 Mar 2024 20:10:21 +0200 Subject: [PATCH] Page getBody --- src/main/java/com/jwebmp/core/Page.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/jwebmp/core/Page.java b/src/main/java/com/jwebmp/core/Page.java index c75f2b47..9f9e8e87 100644 --- a/src/main/java/com/jwebmp/core/Page.java +++ b/src/main/java/com/jwebmp/core/Page.java @@ -18,19 +18,16 @@ import com.google.inject.OutOfScopeException; import com.google.inject.ProvisionException; - -import com.guicedee.client.*; +import com.guicedee.client.IGuiceContext; import com.jwebmp.core.annotations.PageConfiguration; import com.jwebmp.core.base.ComponentDependencyBase; import com.jwebmp.core.base.ContentSecurityPolicy; import com.jwebmp.core.base.ajax.AjaxCall; import com.jwebmp.core.base.ajax.AjaxResponse; -import com.jwebmp.core.base.client.Browsers; import com.jwebmp.core.base.client.InternetExplorerCompatibilityMode; import com.jwebmp.core.base.html.*; import com.jwebmp.core.base.html.attributes.ScriptAttributes; import com.jwebmp.core.base.html.interfaces.children.BodyChildren; -import com.jwebmp.core.base.html.interfaces.children.HtmlChildren; import com.jwebmp.core.base.html.interfaces.children.PageChildren; import com.jwebmp.core.base.interfaces.IComponentFeatureBase; import com.jwebmp.core.base.references.CSSReference; @@ -49,8 +46,8 @@ import java.util.logging.Level; import static com.guicedee.services.jsonrepresentation.json.StaticStrings.STRING_SEMICOLON; -import static com.jwebmp.core.implementations.ReadableUserAgentProvider.defaultAgent; import static com.jwebmp.core.implementations.JWebMPServicesBindings.IPageConfiguratorsKey; +import static com.jwebmp.core.implementations.ReadableUserAgentProvider.defaultAgent; /** * Top level of any HTML page. @@ -161,6 +158,11 @@ public void initialize() //Interception Marker } + public Body getBody() + { + return (Body) super.getBody(); + } + /** * Gets called when the client makes a valid request. *