You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by st...@apache.org on 2004/08/27 20:05:32 UTC
svn commit: rev 37128 - in incubator/beehive/trunk/netui/src: tags-databinding/org/apache/beehive/netui/tags/databinding/xml tags-html/org/apache/beehive/netui/tags tags-html/org/apache/beehive/netui/tags/html tags-template/org/apache/beehive/netui/tags/template
Author: steveh
Date: Fri Aug 27 11:05:31 2004
New Revision: 37128
Modified:
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/xml/SerializeXML.java
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/AbstractSimpleTag.java
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Anchor.java
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Body.java
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Html.java
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Label.java
incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ScriptHeader.java
incubator/beehive/trunk/netui/src/tags-template/org/apache/beehive/netui/tags/template/DivPanel.java
Log:
Minor edits to the src to make the <netui> tag reference look better.
Modified: incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/xml/SerializeXML.java
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/xml/SerializeXML.java (original)
+++ incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/xml/SerializeXML.java Fri Aug 27 11:05:31 2004
@@ -30,6 +30,10 @@
import org.apache.xmlbeans.XmlObject;
/**
+ * A tag that serializes an XMLBean into the output of a JSP page in order to move data to the browser for data binding.
+ *
+ * @jsptagref.tagdescription
+ * A tag that serializes an XMLBean into the output of a JSP page in order to move data to the browser for data binding.
*
* @netui:tag name="serializeXML" description="A tag that serializes an XMLBean into the output of a JSP page in order to move data to the browser for data binding."
* @netui.tldx:tag whitespace="indent"
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/AbstractSimpleTag.java
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/AbstractSimpleTag.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/AbstractSimpleTag.java Fri Aug 27 11:05:31 2004
@@ -98,7 +98,7 @@
/**
* This method will attempt to cast the JspContext into a PageContext. If this fails,
* it will log an exception.
- * @return
+ * @return PageContext
*/
protected PageContext getPageContext()
{
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Anchor.java
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Anchor.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Anchor.java Fri Aug 27 11:05:31 2004
@@ -129,6 +129,9 @@
* <pre>
* <netui:anchor formSubmit="true" onClick="SubmitFromAnchor(); return false;">Submit</netui:anchor></pre>
*
+ * @see Attribute
+ * @see java.lang.String
+ *
* @netui:tag name="anchor" description="Generates a URL-encoded hyperlink to a specified URI."
* @netui.tldx:tag renderer="workshop.netui.jspdesigner.tldx.AnchorRenderer" whitespace="indent"
*/
@@ -198,12 +201,11 @@
/**
* Set the name of the action for the Anchor.
* @param action - the name of the action to set for the Anchor. Action requires a value.
+ *
* @jsptagref.attributedescription
* The action method to invoke. The action method must be in the Controller file
* of the Page Flow directory.
- *
* @jsptagref.databindable false
- *
* @jsptagref.attributesyntaxvalue <i>string_action</i>
*
* @netui:attribute required="false" rtexprvalue="true"
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Body.java
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Body.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Body.java Fri Aug 27 11:05:31 2004
@@ -28,6 +28,11 @@
import javax.servlet.jsp.JspException;
/**
+ * @jsptagref.tagdescription
+ * <p>
+ * Renders an HTML <body> tag with the attributes specified.
+ * </p>
+ *
* @netui:tag name="body" description="Output the <body> container. This tag allows the NetUI framework to output script and errors before the page is finished rendering."
* @netui.tldx:tag renderer="workshop.netui.jspdesigner.tldx.BodyRenderer" whitespace="indent"
*/
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Html.java
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Html.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Html.java Fri Aug 27 11:05:31 2004
@@ -37,13 +37,17 @@
/**
* Generates the html element and performs error handling within its body.
*
-
- * @example In this sample, the Html tag uses the default locale and the direction of the HTML is
+ * @jsptagref.tagdescription
+ * <p>
+ * Renders an <html> tag.
+ * </p>
+ *
+ * @example In this sample, the <netui:html> tag uses the default locale and the direction of the HTML is
* left-to-right (LTR).
* <pre><netui:html dir="LTR" useLocale="true" /></pre>
*
* <p><b>JavaScript</b></p>
- * <p>The Html tag writes out the following JavaScript functions:
+ * <p>The <netui:html> tag writes out the following JavaScript functions:
* <pre>
* function getNetuiTagName(id) {
* return netui_names[id]; }
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Label.java
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Label.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Label.java Fri Aug 27 11:05:31 2004
@@ -29,6 +29,9 @@
import javax.servlet.jsp.JspException;
/**
+ * @jsptagref.tagdescription
+ * Associates text with an input element in a {@link Form}.
+ *
* @netui:tag name="label" description="a <label> element which may point to a form control."
* @netui.tldx:tag requiredchild="formatDate formatNumber formatString"
* renderer="workshop.netui.jspdesigner.tldx.FormLabelRenderer"
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ScriptHeader.java
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ScriptHeader.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ScriptHeader.java Fri Aug 27 11:05:31 2004
@@ -25,7 +25,12 @@
import javax.servlet.jsp.JspException;
/**
- * @netui:tag name="scriptHeader" description="ScriptHeader will write the <script> and JavaScript includes into the HTML <head> tag."
+ * ScriptHeader will write the <script> and JavaScript includes into the HTML <head> tag.
+ *
+ * @jsptagref.tagdescription
+ * ScriptHeader will write the <script> and JavaScript includes into the HTML <head> tag.
+ *
+ * @netui:tag name="scriptHeader" description="ScriptHeader will write the <script> and JavaScript includes into the HTML <head> tag."
* @netui.tldx:tag renderer="workshop.netui.jspdesigner.tldx.ScriptHeaderRenderer" whitespace="indent"
*/
public class ScriptHeader extends AbstractClassicTag
@@ -43,10 +48,20 @@
}
/**
- * Set a list of features that we will generate JavaScript script HTML element including the defined
+ * Set a list of features that will generate a JavaScript <script> HTML element including the defined
* .js file. This string should be a common separated list of features. The mapping between the feature
* name and .js file is found in the netui.config file.
* @param features - the common separated list of features included.
+ *
+ * @jsptagref.attributedescription
+ * Set a list of features that we will generate JavaScript script HTML element including the defined
+ * .js file. This string should be a common separated list of features. The mapping between the feature
+ * name and .js file is found in the netui.config file.
+ *
+ * @jsptagref.databindable false
+ *
+ * @jsptagref.attributesyntaxvalue <i>string_feature</i>
+ *
* @netui:attribute required="false" rtexprvalue="true"
* description="Set a list of features that we will generate JavaScript script HTML element including the defined
* .js file."
Modified: incubator/beehive/trunk/netui/src/tags-template/org/apache/beehive/netui/tags/template/DivPanel.java
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-template/org/apache/beehive/netui/tags/template/DivPanel.java (original)
+++ incubator/beehive/trunk/netui/src/tags-template/org/apache/beehive/netui/tags/template/DivPanel.java Fri Aug 27 11:05:31 2004
@@ -29,7 +29,10 @@
/**
* A DivPanel creates an HTML <div> tag that may contain additional <div> tags. There will only
* be a single div that is visible at a time.
-
+ *
+ * @jsptagref.tagdescription
+ * Creates an HTML <div> tag that may contain additional <div> tags. Only a single section will be visible at a time.
+ *
* @netui:tag name="divPanel"
* description="A divPanel is an placeholder which may contain multiple sections. Only a single section will be visible at a time."
* @netui.tldx:tag whitespace="indent"