summaryrefslogtreecommitdiff
path: root/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOActionURL.java
diff options
context:
space:
mode:
authorBenjamin Culkin <scorpress@gmail.com>2024-05-20 17:58:16 -0400
committerBenjamin Culkin <scorpress@gmail.com>2024-05-20 17:58:16 -0400
commit40a9d99496e098562f090fb7ffce9e749011b131 (patch)
tree437df24d65470582e943e494a52db8ed65a881ae /projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOActionURL.java
parentff072dfe782f6f22123cd4ba050828d35c0d0fbd (diff)
Formatting pass
Diffstat (limited to 'projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOActionURL.java')
-rw-r--r--projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOActionURL.java39
1 files changed, 21 insertions, 18 deletions
diff --git a/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOActionURL.java b/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOActionURL.java
index 78191b6..86e7807 100644
--- a/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOActionURL.java
+++ b/projects/net.wotonomy.web/src/main/java/net/wotonomy/web/WOActionURL.java
@@ -21,20 +21,23 @@ package net.wotonomy.web;
import net.wotonomy.foundation.NSDictionary;
/**
- * This dynamic element renders only the URL of a hyperlink.
- * Bindings are:
+ * This dynamic element renders only the URL of a hyperlink. Bindings are:
* <ul>
* <li>href: The URL that the hyperlink should point to.</li>
- * <li>pageName: The name of the WOComponent that the hyperlink should point to.</li>
- * <li>directActionName: The name of the direct action to call when the link is activated.</li>
- * <li>actionClass: The name of the WODirectAction subclass where the direct action resides.</li>
- * <li>action: A pointer to a method on the component that contains this element. If the link is activated,
- * the method will be called.
+ * <li>pageName: The name of the WOComponent that the hyperlink should point
+ * to.</li>
+ * <li>directActionName: The name of the direct action to call when the link is
+ * activated.</li>
+ * <li>actionClass: The name of the WODirectAction subclass where the direct
+ * action resides.</li>
+ * <li>action: A pointer to a method on the component that contains this
+ * element. If the link is activated, the method will be called.
* <li>ref: The name of the anchor to go to inside the resulting page.</li>
* </ul>
*
- * The href, pageName and directActionName/actionClass and name properties are mutually exclusive and you should
- * only use at most one of them simultaneously.
+ * The href, pageName and directActionName/actionClass and name properties are
+ * mutually exclusive and you should only use at most one of them
+ * simultaneously.
*
* @author ezamudio@nasoft.com
* @author $Author: cgruber $
@@ -42,16 +45,16 @@ import net.wotonomy.foundation.NSDictionary;
*/
public class WOActionURL extends WOHyperlink {
- public WOActionURL() {
- super();
- }
+ public WOActionURL() {
+ super();
+ }
- public WOActionURL(String n, NSDictionary m, WOElement t) {
- super(n, m, t);
- }
+ public WOActionURL(String n, NSDictionary m, WOElement t) {
+ super(n, m, t);
+ }
- public void appendToResponse(WOResponse r, WOContext c) {
- r.appendContentString(actionURL(c));
- }
+ public void appendToResponse(WOResponse r, WOContext c) {
+ r.appendContentString(actionURL(c));
+ }
}