diff options
| author | Benjamin Culkin <scorpress@gmail.com> | 2024-05-20 17:58:16 -0400 |
|---|---|---|
| committer | Benjamin Culkin <scorpress@gmail.com> | 2024-05-20 17:58:16 -0400 |
| commit | 40a9d99496e098562f090fb7ffce9e749011b131 (patch) | |
| tree | 437df24d65470582e943e494a52db8ed65a881ae /projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOGenericContainer.java | |
| parent | ff072dfe782f6f22123cd4ba050828d35c0d0fbd (diff) | |
Formatting pass
Diffstat (limited to 'projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOGenericContainer.java')
| -rw-r--r-- | projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOGenericContainer.java | 61 |
1 files changed, 31 insertions, 30 deletions
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("</"); - r.appendContentString(elementName(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("</"); + r.appendContentString(elementName(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; + } } |
