From 40a9d99496e098562f090fb7ffce9e749011b131 Mon Sep 17 00:00:00 2001 From: Benjamin Culkin Date: Mon, 20 May 2024 17:58:16 -0400 Subject: Formatting pass --- .../java/net/wotonomy/web/WOGenericContainer.java | 61 +++++++++++----------- 1 file changed, 31 insertions(+), 30 deletions(-) (limited to 'projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOGenericContainer.java') diff --git a/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOGenericContainer.java b/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOGenericContainer.java index 9af5460..b883b0f 100644 --- a/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOGenericContainer.java +++ b/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOGenericContainer.java @@ -21,41 +21,42 @@ package net.wotonomy.web; import net.wotonomy.foundation.NSDictionary; /** - * Used to dynamically generate HTML containers (elements with opening and closing tags and something in between). + * Used to dynamically generate HTML containers (elements with opening and + * closing tags and something in between). + * * @author michael@mpowers.net * @author $Author: cgruber $ * @version $Revision: 905 $ */ public class WOGenericContainer extends WOGenericElement { - public WOGenericContainer() { - super(); - } - - public WOGenericContainer(String n, NSDictionary m, WOElement t) { - super(n, m, t); - } - - public void appendToResponse(WOResponse r, WOContext c) { - super.appendToResponse(r, c); - rootElement.appendToResponse(r, c); - r.appendContentString(""); - } - - public void takeValuesFromRequest(WORequest r, WOContext c) { - super.takeValuesFromRequest( r, c ); - rootElement.takeValuesFromRequest(r, c); - } - - public WOActionResults invokeAction(WORequest r, WOContext c) { - WOActionResults result = super.invokeAction( r, c ); - if ( result == null ) - { - result = rootElement.invokeAction(r, c); - } - return result; - } + public WOGenericContainer() { + super(); + } + + public WOGenericContainer(String n, NSDictionary m, WOElement t) { + super(n, m, t); + } + + public void appendToResponse(WOResponse r, WOContext c) { + super.appendToResponse(r, c); + rootElement.appendToResponse(r, c); + r.appendContentString(""); + } + + public void takeValuesFromRequest(WORequest r, WOContext c) { + super.takeValuesFromRequest(r, c); + rootElement.takeValuesFromRequest(r, c); + } + + public WOActionResults invokeAction(WORequest r, WOContext c) { + WOActionResults result = super.invokeAction(r, c); + if (result == null) { + result = rootElement.invokeAction(r, c); + } + return result; + } } -- cgit v1.2.3