You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ri...@apache.org on 2005/05/19 08:40:41 UTC
svn commit: r170884 [2/2] - in
/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags:
divpanel/ html/ javascript/ tree/
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ImageAnchor.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ImageAnchor.java?rev=170884&r1=170883&r2=170884&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ImageAnchor.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ImageAnchor.java Wed May 18 23:40:39 2005
@@ -153,7 +153,7 @@
/**
* Sets the property to specify where to align the image.
- * @param align - the image alignment.
+ * @param align the image alignment.
* @jsptagref.attributedescription The alignment of the image.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_align</i>
@@ -167,7 +167,7 @@
/**
* Sets the property to specify the alt text of the image.
- * @param alt - the image alignment.
+ * @param alt the image alignment.
* @jsptagref.attributedescription The alternative text of the image
* @jsptagref.databindable Read Only
* @jsptagref.attributesyntaxvalue <i>string_alt</i>
@@ -182,7 +182,7 @@
/**
* Sets the property to specify a link to the the long description to supplement
* the short description in the <code>alt</code> attribute.
- * @param longdesc - the longdesc.
+ * @param longdesc the longdesc.
* @jsptagref.attributedescription Specifies a link to the the long description.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_longdesc</i>
@@ -196,7 +196,7 @@
/**
* Sets the border size around the image.
- * @param border - the border size.
+ * @param border the border size.
* @jsptagref.attributedescription The border size around the image
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>integer_pixelBorder</i>
@@ -210,7 +210,7 @@
/**
* Sets the image height.
- * @param height - the height.
+ * @param height the height.
* @jsptagref.attributedescription The image height
* @jsptagref.databindable Read Only
* @jsptagref.attributesyntaxvalue <i>integer_height</i>
@@ -224,7 +224,7 @@
/**
* Sets the the horizontal spacing around the image.
- * @param hspace - the horizontal spacing.
+ * @param hspace the horizontal spacing.
* @jsptagref.attributedescription The horizontal spacing around the image.
* @jsptagref.databindable Read Only
* @jsptagref.attributesyntaxvalue <i>integer_hspace</i>
@@ -238,7 +238,7 @@
/**
* Sets the server-side image map declaration.
- * @param ismap - the image map declaration.
+ * @param ismap the image map declaration.
* @jsptagref.attributedescription The server-side map declaration.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_isMap</i>
@@ -252,7 +252,7 @@
/**
* Sets the roll-over image of the ImageAnchor.
- * @param rolloverImage - the rollover image.
+ * @param rolloverImage the rollover image.
* @jsptagref.attributedescription The URI of the rollover image.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_rolloverImage</i>
@@ -266,7 +266,7 @@
/**
* Sets the image source URI.
- * @param src - the image source URI.
+ * @param src the image source URI.
* @jsptagref.attributedescription The image source URI
* @jsptagref.databindable Read Only
* @jsptagref.attributesyntaxvalue <i>string_src</i>
@@ -282,7 +282,7 @@
/**
* Sets the client-side image map declaration.
- * @param usemap - the map declaration.
+ * @param usemap the map declaration.
* @jsptagref.attributedescription The client-side image map declaration
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_useMap</i>
@@ -296,7 +296,7 @@
/**
* Sets the vertical spacing around the image.
- * @param vspace - the vertical spacing.
+ * @param vspace the vertical spacing.
* @jsptagref.attributedescription The vertical spacing around the image.
* @jsptagref.databindable Read Only
* @jsptagref.attributesyntaxvalue <i>string_vspace</i>
@@ -313,7 +313,7 @@
* running in legacy mode, this will override the <code>style</code> attribute if that is
* set. If this is not set, and <code>style</code> is set, then it will be applied to
* the image.
- * @param imageStyle - the label style
+ * @param imageStyle the label style
* @jsptagref.attributedescription For legacy documents. Specifies style information for the
* contained image. When the tag library is running in legacy mode, this will override the
* <code>style</code> attribute. If this is not set, and <code>style</code> is set,
@@ -333,7 +333,7 @@
* running in legacy mode, this will override the <code>styleClass</code> attribute if that is
* set. If this is not set, and <code>styleClass</code> is set, then it will be applied to
* the image.
- * @param imageClass - the image class
+ * @param imageClass the image class
* @jsptagref.attributedescription For legacy documents. The style class (a style sheet selector).
* When the tag library is running in legacy mode, this will override the <code>styleClass</code>
* attribute. If this is not set, and <code>styleClass</code> is set, then it will be applied to
@@ -350,7 +350,7 @@
/**
* Sets the image width.
- * @param width - the image width.
+ * @param width the image width.
* @jsptagref.attributedescription The image width.
* @jsptagref.databindable Read Only
* @jsptagref.attributesyntaxvalue <i>integer_pixelWidth</i>
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ImageButton.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ImageButton.java?rev=170884&r1=170883&r2=170884&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ImageButton.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ImageButton.java Wed May 18 23:40:39 2005
@@ -111,7 +111,7 @@
/**
* Sets the property to specify where to align the image.
- * @param align - the image alignment.
+ * @param align the image alignment.
* @jsptagref.attributedescription The alignment of the image.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_align</i>
@@ -128,7 +128,7 @@
* keyboard navigation key. It is recommended not to use the following
* values because there are often used by browsers <code>A, C, E, F, G,
* H, V, left arrow, and right arrow</code>.
- * @param accessKey - the accessKey value.
+ * @param accessKey the accessKey value.
* @jsptagref.attributedescription The keyboard navigation key for the element.
* The following values are not recommended because they
* are often used by browsers: <code>A, C, E, F, G,
@@ -148,7 +148,7 @@
/**
* Sets the tabIndex of the rendered html tag.
- * @param tabindex - the tab index.
+ * @param tabindex the tab index.
* @jsptagref.attributedescription The tabIndex of the rendered HTML tag. This attribute determines the position of the
* rendered HTML tag in the sequence of tags that the user may advance through by pressing the TAB key.
* @jsptagref.databindable false
@@ -164,7 +164,7 @@
/**
* Sets the usemap of for the map.
- * @param usemap - the tab index.
+ * @param usemap the tab index.
* @jsptagref.attributedescription Sets the usemap of for the map.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_usemap</i>
@@ -178,7 +178,7 @@
/**
* Sets the ismap of for the map.
- * @param ismap - the tab index.
+ * @param ismap the tab index.
* @jsptagref.attributedescription Sets the ismap of for the map.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_ismap</i>
@@ -192,7 +192,7 @@
/**
* Sets the property to specify the alt text of the image.
- * @param alt - the image alt text.
+ * @param alt the image alt text.
* @jsptagref.attributedescription The alternative text of the image
* @jsptagref.databindable Read Only
* @jsptagref.attributesyntaxvalue <i>string_alt</i>
@@ -206,7 +206,7 @@
/**
* Sets the roll-over image of the ImageAnchor.
- * @param rolloverImage - the rollover image.
+ * @param rolloverImage the rollover image.
* @jsptagref.attributedescription The URI of the rollover image.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_rolloverImage</i>
@@ -220,7 +220,7 @@
/**
* Sets the image source URI.
- * @param src - the source URI.
+ * @param src the source URI.
* @jsptagref.attributedescription The image source URI
* @jsptagref.databindable Read Only
* @jsptagref.attributesyntaxvalue <i>string_src</i>
@@ -236,7 +236,7 @@
/**
* Set the value of the ImageButton.
- * @param value - the value of the ImageButton.
+ * @param value the value of the ImageButton.
* @jsptagref.attributedescription The value of the image button.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_value</i>
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Label.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Label.java?rev=170884&r1=170883&r2=170884&view=diff
==============================================================================
--- 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 Wed May 18 23:40:39 2005
@@ -60,7 +60,7 @@
/**
* Set the <code>for</code> attribute.
- * @param forAttr - the for attribute.
+ * @param forAttr the for attribute.
* @jsptagref.attributedescription The value of this attribute matches a tagId on an form input and links the value to that control.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_forAttr</i>
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/LabelBase.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/LabelBase.java?rev=170884&r1=170883&r2=170884&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/LabelBase.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/LabelBase.java Wed May 18 23:40:39 2005
@@ -45,7 +45,7 @@
* This can be an expression. If the default value is an expression
* all formatters will be applied, otherwise the default value will be output
* without being formatted.
- * @param defaultValue - the default value
+ * @param defaultValue the default value
* @jsptagref.attributedescription The String literal or expression to be used as the
* default output. If the default value is an expression all formatters will be applied,
* otherwise the default value will be output without being formatted.
@@ -77,7 +77,7 @@
/**
* Sets the text of the Label.
- * @param value - the Label value or expression.
+ * @param value the Label value or expression.
* @jsptagref.attributedescription The String literal or expression used as the text of the Label.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_or_expression_output</i>
@@ -96,7 +96,7 @@
* "<br />". The result is that in HTML white space will be represented
* correctly. If this is <code>false</code> then white space will be
* output as it is found in the value.
- * @param escapeWhiteSpace - boolean indicating if we are escaping for white space.
+ * @param escapeWhiteSpace boolean indicating if we are escaping for white space.
* @jsptagref.attributedescription Sets a boolean flag indicating if we will escape
* white space for HTML.
* @jsptagref.attributesyntaxvalue <i>boolean_escapeWhiteSpace</i>
@@ -112,7 +112,7 @@
/**
* Adds a FormatTag.Formatter to the Label's set of formatters
- * @param formatter - a FormatTag.Formatter added by a child FormatTag.
+ * @param formatter a FormatTag.Formatter added by a child FormatTag.
*/
public void addFormatter(FormatTag.Formatter formatter)
{
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Parameter.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Parameter.java?rev=170884&r1=170883&r2=170884&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Parameter.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Parameter.java Wed May 18 23:40:39 2005
@@ -62,7 +62,7 @@
/**
* Sets the name of the URL parameter.
- * @param name - the parameter name.
+ * @param name the parameter name.
* @jsptagref.attributedescription The name of the parameter.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_name</i>
@@ -76,7 +76,7 @@
/**
* Sets the value of the URL parameter. This can be an expression.
- * @param value - the parameter value.
+ * @param value the parameter value.
* @jsptagref.attributedescription The value of the parameter. May be a literal or a data binding expression.
* @jsptagref.databindable true
* @jsptagref.attributesyntaxvalue <i>string_or_expression_value</i>
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ParameterMap.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ParameterMap.java?rev=170884&r1=170883&r2=170884&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ParameterMap.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/ParameterMap.java Wed May 18 23:40:39 2005
@@ -76,7 +76,7 @@
/**
* Sets the map expression.
- * @param map - the map expression.
+ * @param map the map expression.
* @jsptagref.attributedescription A data binding expression pointing to a {@link java.util.Map java.util.Map} of parameters.
* The expression can point at any implementation of the java.util.Map interface,
* including {@link java.util.AbstractMap java.util.AbstractMap},
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/RadioButtonOption.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/RadioButtonOption.java?rev=170884&r1=170883&r2=170884&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/RadioButtonOption.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/RadioButtonOption.java Wed May 18 23:40:39 2005
@@ -94,7 +94,7 @@
/**
* Set the label style for each contained RadioButtonOption.
* The label style here will override a labelStyle at the RadioButtonGroup level.
- * @param labelStyle - the label style
+ * @param labelStyle the label style
* @jsptagref.attributedescription The style of the label for each contained <netui:radioButtonOption> tag.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_labelStyle</i>
@@ -109,7 +109,7 @@
/**
* Set the label style class for each contained RadioButtonOption.
* The label style class here will override a labelStyleClass at the RadioButtonGroup level.
- * @param labelStyleClass - the label style
+ * @param labelStyleClass the label style
* @jsptagref.attributedescription The class of the labels for each contained <netui:radioButtonOption> tag.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_class</i>
@@ -123,7 +123,7 @@
/**
* Set the value of this RadioButtonOption.
- * @param value - the RadioButtonOption value
+ * @param value the RadioButtonOption value
* @jsptagref.attributedescription A literal or data binding expression.
* @jsptagref.databindable Read Only
* @jsptagref.attributesyntaxvalue <i>string_or_expression_value</i>
@@ -277,7 +277,7 @@
* keyboard navigation key. It is recommended not to use the following
* values because there are often used by browsers <code>A, C, E, F, G,
* H, V, left arrow, and right arrow</code>.
- * @param accessKey - the accessKey value.
+ * @param accessKey the accessKey value.
* @jsptagref.attributedescription The keyboard navigation key for the element.
* The following values are not recommended because they
* are often used by browsers: <code>A, C, E, F, G,
@@ -297,7 +297,7 @@
/**
* Sets the alt attribute value.
- * @param alt - the alt value.
+ * @param alt the alt value.
* @jsptagref.attributedescription The alt attribute of the element.
* @jsptagref.databindable Read Only
* @jsptagref.attributesyntaxvalue <i>string_alt</i>
@@ -311,7 +311,7 @@
/**
* Sets the tabIndex of the rendered html tag.
- * @param tabindex - the tab index.
+ * @param tabindex the tab index.
* @jsptagref.attributedescription The tabIndex of the rendered HTML tag. This attribute determines the position of the
* tag in the sequence of page elements that the user may advance through by pressing the TAB key.
* @jsptagref.databindable false
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/RetrievePopupOutput.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/RetrievePopupOutput.java?rev=170884&r1=170883&r2=170884&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/RetrievePopupOutput.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/RetrievePopupOutput.java Wed May 18 23:40:39 2005
@@ -55,7 +55,7 @@
/**
* Sets the ID of the form field to populate with a popup output.
- * @param tagIdRef - the ID of the form field to populate with a popup output.
+ * @param tagIdRef the ID of the form field to populate with a popup output.
* @jsptagref.attributedescription The ID of the form field to populate with a popup output.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_tagidRef</i>
@@ -69,7 +69,7 @@
/**
* Sets an expression to be evaluated and retrieved from the popup window.
- * @param dataSource - an expression to be evaluated and retrieved from the popup window.
+ * @param dataSource an expression to be evaluated and retrieved from the popup window.
* @jsptagref.attributedescription An expression to be evaluated and retrieved from the popup window.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_dataSource</i>
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/RewriteName.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/RewriteName.java?rev=170884&r1=170883&r2=170884&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/RewriteName.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/RewriteName.java Wed May 18 23:40:39 2005
@@ -60,7 +60,7 @@
/**
* Sets the name to be rewritten.
- * @param name - the parameter name.
+ * @param name the parameter name.
* @jsptagref.attributedescription The name which will be rewritten. This value will be output to the page rendered in the browser and may be looked up using 'name'.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_name</i>
@@ -75,7 +75,7 @@
/**
* Sets the resultId which, if non-null, will store the real name
* in the page context under the resultId name;
- * @param resultId - the parameter name.
+ * @param resultId the parameter name.
* @jsptagref.attributedescription A name that will cause the real name to be stored into the page context under this name.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_resultId</i>
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/RewriteURL.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/RewriteURL.java?rev=170884&r1=170883&r2=170884&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/RewriteURL.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/RewriteURL.java Wed May 18 23:40:39 2005
@@ -66,7 +66,7 @@
/**
* Sets the URL to be rewritten.
- * @param url - the value of the URL that will be rewritten.
+ * @param url the value of the URL that will be rewritten.
* @jsptagref.attributedescription The value of the URL that will be rewritten.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_url</i>
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Select.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Select.java?rev=170884&r1=170883&r2=170884&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Select.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/Select.java Wed May 18 23:40:39 2005
@@ -66,18 +66,18 @@
* <p>You can dynamically generate a set of selectable options by
* pointing the <netui:select> tag at a String[].
*
- * <pre> public String[] options = {"red", "green", "blue", "orange", "pink", "aqua", "black", "brown", "tan"};
+ * <pre> public String[] colors = {"red", "green", "blue", "orange", "pink", "aqua", "black", "brown", "tan"};
*
- * public String[] getOptions()
+ * public String[] getColors()
* {
- * return options;
+ * return colors;
* }</pre>
*
* <p>To point the <netui:select> tag at the String[] object use the
- * <code>optionsDataSource</code> attribute.
+ * <code>optionsDataSource</code> attribute.</p>
*
- * <pre> <netui:select dataSource="actionForm.selections"
- * optionsDataSource="${pageFlow.options}"</pre>
+ * <pre> <netui:select dataSource="actionForm.selection"
+ * optionsDataSource="${pageFlow.colors}"/></pre>
*
* Note that you can make the display value and the submitted value differ by pointing the
* optionsDataSource attribute of the <netui:select> tag at a HashMap object.
@@ -97,14 +97,17 @@
* optionsMap.put("#33ff33", "green");
* }</pre>
*
- * Point the <netui:select> at the Map object using the <code>optionsDataSource</code> attribute.
+ * <p>However, you cannot use a Map object if you choose to use the Select as a repeater
+ * (setting the attribute repeater="true").</p>
*
- * <pre> <netui:select dataSource="actionForm.selections"
- * optionsDataSource="${pageFlow.optionsMap}"</pre>
+ * <p>Point the <netui:select> at the Map object using the <code>optionsDataSource</code> attribute.</p>
+ *
+ * <pre> <netui:select dataSource="actionForm.selection"
+ * optionsDataSource="${pageFlow.optionsMap}"/></pre>
*
* The following HTML will be generated.
*
- * <pre> <select name="wlw-select_key:{actionForm.selections}">
+ * <pre> <select name="wlw-select_key:{actionForm.selection}">
* <option value="#3333ff">blue</option>
* <option value="#33ff33">green</option>
* <option value="#ff3333">red</option>
@@ -115,7 +118,7 @@
* <p>To statically generate selecable options, place a set of <netui:selectOption> tags inside
* the <netui:select> tag.
*
- * <pre> <netui:select dataSource="actionForm.selections" size="5">
+ * <pre> <netui:select dataSource="actionForm.selection" size="5">
* <netui:selectOption value="red" />
* <netui:selectOption value="blue" />
* <netui:selectOption value="green" />
@@ -127,18 +130,17 @@
*
* <p>A <netui:select> is submitted as a String or String[] object, depending on whether the
* <code>multiple</code> attribute is set to true. In the following example, the <code>dataSource</code>
- * attribute points at a String[] object.
+ * attribute points at a String[] object.</p>
*
- * <pre> </netui:select dataSource="actionForm.selections"></pre>
+ * <pre> </netui:select dataSource="actionForm.selections"...</pre>
*
- * <p>In this case, the <netui:select> tag submits to a String[] field of a Form Bean.
+ * <p>In this case, the <netui:select> tag submits to a String[] field of a Form Bean.</p>
*
* <pre> public static class SubmitForm extends FormData
* {
* private String[] selections;
*
* public void setSelections(String[] selections)
- *
* {
* this.selections = selections;
* }
@@ -149,9 +151,39 @@
* }
* }</pre>
*
- * <p>Note that the <netui:select> element will dynamically generate option elements from
- * the dataSource and the defaultValue attributes as well as optionsDataSource.
- * The repeatingOrder attribute defines the order between these repeating types.<p>
+ * <p><b>Use Select as a Repeater with Multiple Repeating Types</b></p>
+ *
+ * <p>Optionally, use the <netui:select> tag as a repeater to render multiple options
+ * from the <code>dataSource</code> and <code>defaultValue</code> attributes as well as
+ * the <code>optionsDataSource</code>. The <netui:select> element can dynamically generate
+ * option elements for different repeating types of "option", "dataSource", "default",
+ * (optionsDataSource, dataSource, and defaultValue attributes respectively) and "null".
+ * The Select <code>repeatingOrder</code> attribute sets the order that repeating types
+ * are generated. The <code>repeatingType</code> attribute on the <netui:selectOption>
+ * tag identifies each of the types to be rendered.</p>
+ *
+ * <p>Use JSTL boolean conditional tags with the <netui:selectOption> elements
+ * to help manage repeaters of different data types.
+ * For example, the <code>dataSource</code> could point to a String[] while
+ * the <code>optionsDataSource</code> points to an Object[] where each object has
+ * name and value fields...</p>
+ *
+ * <pre> <netui:select dataSource="actionForm.selections"
+ * optionsDataSource="${pageFlow.options}"
+ * repeatingOrder="dataSource,option"
+ * repeater="true" multiple="true">
+ * <c:if test="${container.metadata.dataSourceStage}">
+ * <netui:selectOption repeatingType="dataSource" value="${container.item}">
+ * <netui:span value="${container.item}" />
+ * </netui:selectOption>
+ * </c:if>
+ * <c:if test="${container.metadata.optionStage}">
+ * <netui:selectOption repeatingType="option" value="${container.item.name}">
+ * <netui:span value="${container.item.value}" />
+ * </netui:selectOption>
+ * </c:if>
+ * </netui:select>
+ * </pre>
* @example The following sample uses the <code>optionsDataSource</code> attribute to reference a
* dynamically generated dropdown list.
*
@@ -454,7 +486,7 @@
/**
* Set whether multiple selections are allowed.
- * @param multiple - the multiple value ("true" or "false")
+ * @param multiple the multiple value ("true" or "false")
* @jsptagref.attributedescription Boolean. Whether or not multi-selection is enabled.
* If multiple selection is enabled, a null option will not be displayed, even if
* the <code>nullable</code> is set to true.
@@ -472,7 +504,7 @@
/**
* Set whether repeating of contained options is on.
- * @param repeater - the repeater value ("true" or "false")
+ * @param repeater the repeater value ("true" or "false")
* @jsptagref.attributedescription Set whether repeating of contained options is on.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>boolean_repeater</i>
@@ -497,7 +529,7 @@
* This method will set the order of the options generated in the select. It must contain a
* comma separated string listing the order or the stages that the repeating types are processed.
* These values are "option", "dataSource", "default", and "null".
- * @param order - comma separated ordering of items when there is a repeating select.
+ * @param order comma separated ordering of items when there is a repeating select.
* @jsptagref.attributedescription Define the order of options generated for a repeating Select.
* It must contain a comma separated string listing the order or the stages that the repeating types
* are processed. These values are "option", "dataSource", "default", and "null". For example,
@@ -529,7 +561,7 @@
/**
* Set whether a null option is desired.
- * @param nullable - the nullable value
+ * @param nullable the nullable value
* @jsptagref.attributedescription Boolean.
* Whether a option with the value null should be added to the bottom of the list.
* If <select> has the multiple <code>attribute</code> set to true, the null option won't be shown.
@@ -605,7 +637,7 @@
/**
* Sets how many options are displayed.
- * @param size - the size (a number)
+ * @param size the size (a number)
* @jsptagref.attributedescription The number of visible options
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>integer_size</i>
@@ -1228,7 +1260,7 @@
/**
* Adds a FormatTag.Formatter to the Select's set of formatters
- * @param formatter - a FormatTag.Formatter added by a child FormatTag.
+ * @param formatter a FormatTag.Formatter added by a child FormatTag.
*/
public void addFormatter(FormatTag.Formatter formatter)
{
@@ -1253,7 +1285,7 @@
/**
* Apply the Select's set of formatters to the given text
- * @param text - the text to format.
+ * @param text the text to format.
* @return the formatted text
*/
public String formatText(Object text)
@@ -1284,7 +1316,7 @@
* keyboard navigation key. It is recommended not to use the following
* values because there are often used by browsers <code>A, C, E, F, G,
* H, V, left arrow, and right arrow</code>.
- * @param accessKey - the accessKey value.
+ * @param accessKey the accessKey value.
* @jsptagref.attributedescription The keyboard navigation key for the element.
* The following values are not recommended because they
* are often used by browsers: <code>A, C, E, F, G,
@@ -1304,7 +1336,7 @@
/**
* Sets the tabIndex of the rendered html tag.
- * @param tabindex - the tab index.
+ * @param tabindex the tab index.
* @jsptagref.attributedescription The tabIndex of the rendered HTML tag. This attribute determines the position of the
* tag in the sequence of page elements that the user may advance through by pressing the TAB key.
* @jsptagref.databindable false
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/SelectOption.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/SelectOption.java?rev=170884&r1=170883&r2=170884&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/SelectOption.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/SelectOption.java Wed May 18 23:40:39 2005
@@ -111,7 +111,7 @@
/**
* Set if this option is disabled or not.
- * @param disabled - "true" or "false"
+ * @param disabled "true" or "false"
* @jsptagref.attributedescription Boolean value that determines whether the <option> is disabled.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>boolean_disabled</i>
@@ -155,7 +155,7 @@
/**
* Set the value of this SelectOption.
- * @param value - the SelectOption value
+ * @param value the SelectOption value
* @jsptagref.attributedescription A literal or a data binding expression that determines the value submitted by the
* <option> tag.
* @jsptagref.databindable Read Only
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/TextArea.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/TextArea.java?rev=170884&r1=170883&r2=170884&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/TextArea.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/TextArea.java Wed May 18 23:40:39 2005
@@ -102,7 +102,7 @@
/**
* Sets the number of columns in the TextArea.
- * @param cols - the number of columns
+ * @param cols the number of columns
* @jsptagref.attributedescription Integer. The number of columns in the <netui:textArea>.
* @jsptagref.databindable Read Only
* @jsptagref.attributesyntaxvalue <i>integer_columns</i>
@@ -116,7 +116,7 @@
/**
* Set if this TextArea is read-only.
- * @param readonly - the read-only state
+ * @param readonly the read-only state
* @jsptagref.attributedescription Boolean. Determines whether text can be entered in the <netui:textArea> or not.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>boolean_disabled</i>
@@ -130,7 +130,7 @@
/**
* Sets the number of rows in the TextArea.
- * @param rows - the number of rows
+ * @param rows the number of rows
* @jsptagref.attributedescription The number of rows in the <netui:textArea>
* @jsptagref.databindable Read Only
* @jsptagref.attributesyntaxvalue <i>integer_rows</i>
@@ -227,7 +227,7 @@
/**
* Adds a FormatTag.Formatter to the TextArea's set of formatters
- * @param formatter - a FormatTag.Formatter added by a child FormatTag.
+ * @param formatter a FormatTag.Formatter added by a child FormatTag.
*/
public void addFormatter(FormatTag.Formatter formatter)
{
@@ -280,7 +280,7 @@
* keyboard navigation key. It is recommended not to use the following
* values because there are often used by browsers <code>A, C, E, F, G,
* H, V, left arrow, and right arrow</code>.
- * @param accessKey - the accessKey value.
+ * @param accessKey the accessKey value.
* @jsptagref.attributedescription The keyboard navigation key for the element.
* The following values are not recommended because they
* are often used by browsers: <code>A, C, E, F, G,
@@ -300,7 +300,7 @@
/**
* Sets the tabIndex of the rendered html tag.
- * @param tabindex - the tab index.
+ * @param tabindex the tab index.
* @jsptagref.attributedescription The tabIndex of the rendered HTML tag. This attribute determines the position of the
* tag in the sequence of page elements that the user may advance through by pressing the TAB key.
* @jsptagref.databindable false
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/TextBox.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/TextBox.java?rev=170884&r1=170883&r2=170884&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/TextBox.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/html/TextBox.java Wed May 18 23:40:39 2005
@@ -109,7 +109,7 @@
/**
* Set the maximum length (in characters) of the TextBox.
- * @param maxlength - the max length
+ * @param maxlength the max length
* @jsptagref.attributedescription Integer. The maximum number of character that can be entered in the rendered <input> element.
* @jsptagref.databindable Read Only
* @jsptagref.attributesyntaxvalue <i>integer_maxLength</i>
@@ -123,7 +123,7 @@
/**
* Set the password state (true means this is a password field).
- * @param password - the password state
+ * @param password the password state
* @jsptagref.attributedescription Boolean. Determines whether the password characters that the user enters into the <input> element will be disguised in the browser.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>boolean_password</i>
@@ -146,7 +146,7 @@
/**
* Set if this TextBox is read-only.
- * @param readonly - the read-only state
+ * @param readonly the read-only state
* @jsptagref.attributedescription Boolean. Determines if the rendered <input> element is read-only.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>boolean_readOnly</i>
@@ -160,7 +160,7 @@
/**
* Set the size (in characters) of the TextBox.
- * @param size - the size
+ * @param size the size
* @jsptagref.attributedescription Integer. The number of characters visible in the <input> element.
* @jsptagref.databindable Read Only
* @jsptagref.attributesyntaxvalue <i>integer_size</i>
@@ -177,7 +177,7 @@
* keyboard navigation key. It is recommended not to use the following
* values because there are often used by browsers <code>A, C, E, F, G,
* H, V, left arrow, and right arrow</code>.
- * @param accessKey - the accessKey value.
+ * @param accessKey the accessKey value.
* @jsptagref.attributedescription The keyboard navigation key for the element.
* The following values are not recommended because they
* are often used by browsers: <code>A, C, E, F, G,
@@ -197,7 +197,7 @@
/**
* Sets the alt attribute value.
- * @param alt - the alt value.
+ * @param alt the alt value.
* @jsptagref.attributedescription The alt attribute of the element.
* @jsptagref.databindable Read Only
* @jsptagref.attributesyntaxvalue <i>string_alt</i>
@@ -211,7 +211,7 @@
/**
* Sets the tabIndex of the rendered html tag.
- * @param tabindex - the tab index.
+ * @param tabindex the tab index.
* @jsptagref.attributedescription The tabIndex of the rendered HTML tag. This attribute determines the position of the
* tag in the sequence of page elements that the user may advance through by pressing the TAB key.
* @jsptagref.databindable false
@@ -320,7 +320,7 @@
/**
* Adds a FormatTag.Formatter to the TextBox's set of formatters
- * @param formatter - a FormatTag.Formatter added by a child FormatTag.
+ * @param formatter a FormatTag.Formatter added by a child FormatTag.
*/
public void addFormatter(FormatTag.Formatter formatter)
{
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/javascript/IScriptReporter.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/javascript/IScriptReporter.java?rev=170884&r1=170883&r2=170884&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/javascript/IScriptReporter.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/javascript/IScriptReporter.java Wed May 18 23:40:39 2005
@@ -41,8 +41,8 @@
* Adds a tagID and tagName to the id to name map. A script container
* can maintain a mapping of user ids to actual ids generated by
* the tagId. This method will track these.
- * @param tagId - the id of a child tag.
- * @param tagName - the name of a child tag.
+ * @param tagId the id of a child tag.
+ * @param tagName the name of a child tag.
*/
void addLegacyTagIdMappings(String tagId, String tagName);
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/javascript/ScriptBlock.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/javascript/ScriptBlock.java?rev=170884&r1=170883&r2=170884&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/javascript/ScriptBlock.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/javascript/ScriptBlock.java Wed May 18 23:40:39 2005
@@ -47,7 +47,7 @@
/**
* Place the JavaScript inside in relationship to the frameword generated JavaScript.
- * @param placement - The placement of the JavaScript
+ * @param placement The placement of the JavaScript
* @jsptagref.attributedescription String value 'after' or 'before'. Places the JavaScript
* before or after the JavaScript provided by the framework.
* @jsptagref.databindable false
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/javascript/ScriptContainer.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/javascript/ScriptContainer.java?rev=170884&r1=170883&r2=170884&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/javascript/ScriptContainer.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/javascript/ScriptContainer.java Wed May 18 23:40:39 2005
@@ -135,8 +135,8 @@
/**
* Adds a tagID and tagName to the Html's getId javascript function.
- * @param tagId - the id of a child tag.
- * @param tagName - the name of a child tag.
+ * @param tagId the id of a child tag.
+ * @param tagName the name of a child tag.
*/
public void addLegacyTagIdMappings(String tagId, String tagName)
{
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/Tree.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/Tree.java?rev=170884&r1=170883&r2=170884&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/Tree.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/Tree.java Wed May 18 23:40:39 2005
@@ -150,7 +150,7 @@
/**
* Sets the action used for expanding and contracting tree nodes. This action will be
* inherited by the <code>TreeElements</code> inside the tree.
- * @param action - the action
+ * @param action the action
* @jsptagref.attributedescription Sets the action used for expanding and contracting tree nodes.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_action</i>
@@ -166,7 +166,7 @@
/**
* Sets the action used for selecting tree nodes. This action will be
* inherited by the <code>TreeElements</code> inside the tree.
- * @param action - the action
+ * @param action the action
* @jsptagref.attributedescription Sets the action used when a tree node is selected.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_action</i>
@@ -192,7 +192,7 @@
/**
* Sets the target for a selection action. This can specify the name
* of the frame where the document is to be opened.
- * @param target - the target for selection
+ * @param target the target for selection
* @jsptagref.attributedescription Sets the frame target used for selecting tree nodes.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_target</i>
@@ -209,7 +209,7 @@
* Set the ID of the tag. This is required and will not generate the
* standard JavaScript lookup code unless <code>RenderTagIdLookup</code>
* is set to <code>true</code>.
- * @param tagId - the tagId.
+ * @param tagId the tagId.
* @jsptagref.attributedescription Set the id of the tree. This appears on the containing <div>.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_tagId</i>
@@ -225,8 +225,8 @@
/**
* Sets the image name for an open non-leaf node with no
* line below it. (Defaults to "lastNodeExpanded.gif").
- * @param lastNodeExpandedImage - the image name (including extension)
- * @jsptagref.attributedescription The image name for an open non-leaf node with no line below it. (Defaults to "handledownlast.gif".)
+ * @param lastNodeExpandedImage the image name (including extension)
+ * @jsptagref.attributedescription The image name for an open non-leaf node with no line below it. (Defaults to "lastNodeExpanded.gif".)
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_imageHandleDownLast</i>
* @netui:attribute required="false" rtexprvalue="true"
@@ -243,9 +243,9 @@
/**
* Sets the image name for an open non-leaf node with a
* line below it. (Defaults to "nodeExpanded.gif").
- * @param nodeExpandedImage - the image name (including extension)
+ * @param nodeExpandedImage the image name (including extension)
* @jsptagref.attributedescription The image name for an open non-leaf node with a
- * line below it. (Defaults to "handledownmiddle.gif".)
+ * line below it. (Defaults to "nodeExpanded.gif".)
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_imageHandleDownMiddle</i>
* @netui:attribute required="false" rtexprvalue="true"
@@ -262,9 +262,9 @@
/**
* Sets the image name for a closed non-leaf node with no
* line below it. (Defaults to "lastNodeCollapsed.gif").
- * @param lastNodeCollapsedImage - the image name (including extension)
+ * @param lastNodeCollapsedImage the image name (including extension)
* @jsptagref.attributedescription The image name for a closed non-leaf node with no
- * line below it. (Defaults to "handlerightlast.gif".)
+ * line below it. (Defaults to "lastNodeCollapsed.gif".)
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_imageHandleRightLast</i>
* @netui:attribute required="false" rtexprvalue="true"
@@ -281,9 +281,9 @@
/**
* Sets the image name for a closed non-leaf node with a
* line below it. (Defaults to "nodeCollapsed.gif").
- * @param nodeCollapsedImage - the image name (including extension)
+ * @param nodeCollapsedImage the image name (including extension)
* @jsptagref.attributedescription The image name for a closed non-leaf node with a
- * line below it. (Defaults to "handlerightmiddle.gif".)
+ * line below it. (Defaults to "nodeCollapsed.gif".)
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_imageHandleRightMiddle</i>
* @netui:attribute required="false" rtexprvalue="true"
@@ -300,9 +300,9 @@
/**
* Sets the image name for a blank area of the tree.
* (Defaults to "lastLineJoin.gif").
- * @param lastLineJoinImage - the image name (including extension)
+ * @param lastLineJoinImage the image name (including extension)
* @jsptagref.attributedescription The image name for a blank area of the tree.
- * (Defaults to "linelastnode.gif")
+ * (Defaults to "lastLineJoin.gif")
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_imageLineLast</i>
* @netui:attribute required="false" rtexprvalue="true"
@@ -318,8 +318,9 @@
/**
* Sets the default icon for TreeElements for a blank area of the tree.
* (Defaults to "folder.gif").
- * @param itemIcon - the image name of the itemIcon
+ * @param itemIcon the image name of the itemIcon
* @jsptagref.attributedescription Sets the default icon for TreeElements for a blank area of the tree.
+ * (Defaults to "folder.gif").
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_itemIcon</i>
* @netui:attribute required="false" rtexprvalue="true"
@@ -335,9 +336,9 @@
/**
* Sets the image name for an area with a line through it.
* (Defaults to "lineJoin.gif").
- * @param lineJoinImage - the image name (including extension)
+ * @param lineJoinImage the image name (including extension)
* @jsptagref.attributedescription The image name for an area with a line through it.
- * (Defaults to "linemiddlenode.gif").
+ * (Defaults to "lineJoin.gif").
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_imageLineMiddle</i>
* @netui:attribute required="false" rtexprvalue="true"
@@ -353,9 +354,9 @@
/**
* Sets the image name for an area with a line through it.
* (Defaults to "verticalLine.gif").
- * @param verticalLineImage - the image name (including extension)
+ * @param verticalLineImage the image name (including extension)
* @jsptagref.attributedescription The image name for an area with a line through it.
- * (Defaults to "linevertical.gif").
+ * (Defaults to "verticalLine.gif").
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_imageLIneVertical</i>
* @netui:attribute required="false" rtexprvalue="true"
@@ -373,7 +374,7 @@
* absolutely within the webapp. This target will provide images for the structure of
* the tree. If the <code>iconRoot</code> is not set, then this will also specify where
* the icons come are found.
- * @param imageRoot - the directory name
+ * @param imageRoot the directory name
* @jsptagref.attributedescription The directory containing the images for tree icons.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_imageRoot</i>
@@ -391,7 +392,7 @@
* is explicitly set, this works exactly the same as all other inheritable
* properties. When this is not set, it will return the <code>getImageRoot</code>
* location.
- * @param iconRoot - the directory name for the icons
+ * @param iconRoot the directory name for the icons
* @jsptagref.attributedescription The directory containing the icon images for tree items.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_iconRoot</i>
@@ -405,9 +406,10 @@
/**
* Sets the image that will be used for the root when it is Collapsed. The root must implement
- * ITreeRootElement to support this.
- * @param rootNodeCollapsedImage - the image representing a root that is collapsed.
+ * ITreeRootElement to support this. (Defaults to "rootCollapsed.gif").
+ * @param rootNodeCollapsedImage the image representing a root that is collapsed.
* @jsptagref.attributedescription The image representing the root when it is collapsed.
+ * (Defaults to "rootCollapsed.gif").
* @jsptagref.databindable true
* @jsptagref.attributesyntaxvalue <i>string_rootNodeCollapsedImage</i>
* @netui:attribute required="false" rtexprvalue="true"
@@ -420,9 +422,10 @@
/**
* Sets the image that will be used for the root when it is Expanded. The root must implement
- * ITreeRootElement to support this.
- * @param rootNodeExpandedImage - the image representing a root that is expanded.
+ * ITreeRootElement to support this. (Defaults to "rootExpanded.gif").
+ * @param rootNodeExpandedImage the image representing a root that is expanded.
* @jsptagref.attributedescription The image representing the root when it is expanded.
+ * (Defaults to "rootExpanded.gif").
* @jsptagref.databindable true
* @jsptagref.attributesyntaxvalue <i>string_rootNodeExpandedImage</i>
* @netui:attribute required="false" rtexprvalue="true"
@@ -485,7 +488,7 @@
/**
* Sets the root <code>TreeElement</code> of this tree.
- * @param rootNode - the root treeNode
+ * @param rootNode the root treeNode
*/
public void setRootNode(TreeElement rootNode)
{
@@ -609,7 +612,7 @@
/**
* Sets the <code>style</code> attribute of the tree.
- * @param treeStyle - the style
+ * @param treeStyle the style
* @jsptagref.attributedescription Sets the <code>style</code> attribute of the tree.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_treeStyle</i>
@@ -624,7 +627,7 @@
/**
* Sets the <code>class</code> attribute of the tree. This will be set
* on the containing <div> for the tree.
- * @param treeStyleClass - the style
+ * @param treeStyleClass the style
* @jsptagref.attributedescription Sets the <code>class</code> attribute of the tree.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_treeStyleClass</i>
@@ -643,7 +646,7 @@
* being bound to is null, then the body of the tree will be processed to create
* the initial tree state and the bound variable will be set. In this situation
* the property must support both read and write.
- * @param dataSource - the tree attribute name
+ * @param dataSource the tree attribute name
* @jsptagref.attributedescription sets an expression which indentifies the TreeElement
* that represents the root of the tree.
* @jsptagref.databindable true
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/TreeElement.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/TreeElement.java?rev=170884&r1=170883&r2=170884&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/TreeElement.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/TreeElement.java Wed May 18 23:40:39 2005
@@ -226,7 +226,7 @@
/**
* Set the ID of the tag.
- * @param tagId - the tagId.
+ * @param tagId the tagId.
*/
public void setTagId(String tagId)
{
@@ -289,7 +289,7 @@
/**
* Sets if this node is currently expanded.
- * @param expanded - the expanded state
+ * @param expanded the expanded state
*/
public void setExpanded(boolean expanded)
{
@@ -463,7 +463,7 @@
/**
* Sets whether this node currently selected.
- * @param selected - the selected state
+ * @param selected the selected state
*/
public void setSelected(boolean selected)
{
@@ -484,7 +484,7 @@
/**
* Sets whether this node currently selected.
- * @param disabled - the selected state
+ * @param disabled the selected state
*/
public void setDisabled(boolean disabled)
{
@@ -532,7 +532,7 @@
/**
* Sets the parent node of this node. This node will set the width value (which is really the
* depth in the tree of the node).
- * @param parent - the TreeElement parent
+ * @param parent the TreeElement parent
*/
protected void setParent(TreeElement parent)
{
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/TreeHtmlAttribute.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/TreeHtmlAttribute.java?rev=170884&r1=170883&r2=170884&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/TreeHtmlAttribute.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/TreeHtmlAttribute.java Wed May 18 23:40:39 2005
@@ -57,7 +57,7 @@
/**
* Sets the name of the attribute. This must be in the proper HTML Attribute form. For example,
* "onmouseclick" or "href".
- * @param attr - the name of the HTML attribute.
+ * @param attr the name of the HTML attribute.
* @jsptagref.attributedescription Sets the name of the attribute. This must be in the proper HTML Attribute form. For example,
* "onmouseclick" or "href".
* @jsptagref.databindable false
@@ -72,7 +72,7 @@
/**
* Sets HTML attribute value.
- * @param value - The value of the HTML Attribute.
+ * @param value The value of the HTML Attribute.
* @jsptagref.attributedescription Sets the HTML attribute value.
* @jsptagref.databindable true
* @jsptagref.attributesyntaxvalue <i>string_or_expression</i>
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/TreeHtmlAttributeInfo.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/TreeHtmlAttributeInfo.java?rev=170884&r1=170883&r2=170884&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/TreeHtmlAttributeInfo.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/TreeHtmlAttributeInfo.java Wed May 18 23:40:39 2005
@@ -46,8 +46,8 @@
/**
* Construct a new TreeHtmlAttributeInfo with the specified parameters.
- * @param attribute The name of the attribute.
- * @param value Sets HTML attribute value.
+ * @param attribute the name of the attribute.
+ * @param value sets HTML attribute value.
*/
public TreeHtmlAttributeInfo( String attribute, String value )
{
@@ -55,41 +55,75 @@
setValue(value);
}
+ /**
+ * Return the name of the attribute.
+ * @return the attribute name
+ */
public String getAttribute()
{
return _attribute;
}
+ /**
+ * Set the name of the attribute.
+ * @param attribute the name of the attribute.
+ */
public void setAttribute(String attribute)
{
_attribute = attribute;
}
+ /**
+ * Return the value of the attribute.
+ * @return the String value of the attribute.
+ */
public String getValue()
{
return _value;
}
+ /**
+ * Set the HTML attribute value.
+ * @param value the value of the HTML attribute.
+ */
public void setValue(String value)
{
_value = value;
}
+ /**
+ * Return the parent node of the HtmlAttributeInfo item.
+ * This is the node the HtmlAttributeInfo item is associated with.
+ * @return the TreeElement parent.
+ */
public TreeElement getParent()
{
return _parent;
}
+ /**
+ * Set the parent of the HtmlAttributeInfo item.
+ * This sets the node the HtmlAttributeInfo item will be associated with.
+ * @param parent the TreeElement parent.
+ */
public void setParent(TreeElement parent)
{
_parent = parent;
}
+ /**
+ * Gets whether the attribute is applied to descendants of the node.
+ * @return whether the attribute is applied to descendants of the node.
+ */
public boolean isApplyToDescendents()
{
return ((state & APPLY_TO_DESCENDENTS) != 0);
}
+ /**
+ * Sets whether the attribute is applied to descendant nodes of the parent node.
+ * @param applyToDescendents
+ */
public void setApplyToDescendents(boolean applyToDescendents)
{
if (applyToDescendents)
@@ -99,11 +133,19 @@
}
+ /**
+ * Gets whether the HTML attribute is on the <div> tag of the node.
+ * @return whether the attribute is on the <div> tag of the node.
+ */
public boolean isOnDiv()
{
return ((state & ON_DIV) != 0);
}
+ /**
+ * Sets whether the HTML attribute is on the node item's <div> tag.
+ * @param onDiv whether the attribute is on the <div> tag of the node.
+ */
public void setOnDiv(boolean onDiv)
{
if (onDiv)
@@ -113,11 +155,19 @@
}
+ /**
+ * Gets whether the HTML attribute is on the <img> tag for the icon of the node.
+ * @return whether the attribute is on the <img> tag of the node.
+ */
public boolean isOnIcon()
{
return ((state & ON_ICON) != 0);
}
+ /**
+ * Sets whether the HTML attribute is on the node item's <img> tag for the icon.
+ * @param onIcon whether the attribute is on the <img> tag of the node.
+ */
public void setOnIcon(boolean onIcon)
{
if (onIcon)
@@ -127,11 +177,19 @@
}
+ /**
+ * Gets whether the HTML attribute is on the selection link of the node.
+ * @return whether the attribute is on the selection link of the node.
+ */
public boolean isOnSelectionLink()
{
return ((state & ON_SELECTION_LINK) != 0);
}
+ /**
+ * Sets whether the HTML attribute is on the node item's selection.
+ * @param onSelectionLink whether the attribute is on the selection link of the node.
+ */
public void setOnSelectionLink(boolean onSelectionLink)
{
if (onSelectionLink)
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/TreeItem.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/TreeItem.java?rev=170884&r1=170883&r2=170884&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/TreeItem.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/TreeItem.java Wed May 18 23:40:39 2005
@@ -39,11 +39,14 @@
* @example In this first sample, a TreeItem contained by a parent TreeItem or Tree will
* display with
* the label of "Login" and, when clicked, will navigate to the Login pageflow.
- * <pre><netui:treeItem label="Login" action="/netui/login/Login.jpf" /></pre>
+ * <pre> <netui:treeItem action="/netui/login/Login.jpf">Login</netui:treeItem></pre>
* <p>In this next sample, a TreeItem contained by a parent TreeItem or Tree will display with
* the label of "Human Resources" and icon "folder16.gif" and most likely will have
* child TreeItem tags because it does not have an action and starts expanded.</p>
- * <pre><netui:treeItem label="Human Resources" icon="folder16.gif" expanded="true"></pre>
+ * <pre> <netui:treeItem icon="folder16.gif" expanded="true">
+ * <netui:treeLabel>Human Resources</netui:treeLabel>
+ * ...
+ * </netui:treeItem></pre>
* @netui:tag name="treeItem" body-content="scriptless" description="Instantiates a TreeElement object that will get added to the parent tag (either a Tree or another TreeItem)."
* @see Tree
* @see org.apache.beehive.netui.tags.tree.TreeElement
@@ -82,7 +85,7 @@
/**
* Set the TreeItem's action.
- * @param action - the action.
+ * @param action the action.
* @jsptagref.attributedescription The action to invoke when this tree node is clicked.
* @jsptagref.databindable true
* @jsptagref.attributesyntaxvalue <i>string_or_expression</i>
@@ -97,7 +100,7 @@
/**
* Sets an action to run on the client when the tree is selected.
- * @param action - the client action.
+ * @param action the client action.
* @jsptagref.attributedescription Sets an action to run on the client when the tree node is selected.
* @jsptagref.databindable true
* @jsptagref.attributesyntaxvalue <i>string_or_expression</i>
@@ -112,7 +115,7 @@
/**
* Set the ID of the tag.
- * @param tagId - the tagId.
+ * @param tagId the tagId.
* @jsptagref.attributedescription Sets of the id attribute of the tree node
* @jsptagref.databindable true
* @jsptagref.attributesyntaxvalue <i>string_or_expression</i>
@@ -127,7 +130,7 @@
/**
* Sets the TreeItem expansion state.
- * @param expanded - the expanded state.
+ * @param expanded the expanded state.
* @jsptagref.attributedescription Sets the expanded/collapsed state of the tree node.
* @jsptagref.databindable true
* @jsptagref.attributesyntaxvalue <i>boolean_or_booleanExpression</i>
@@ -141,7 +144,7 @@
/**
* Disables the TreeItem.
- * @param disabled - the enabled/disabled state.
+ * @param disabled the enabled/disabled state.
* @jsptagref.attributedescription Boolean. Determines if the tree node is enabled or disabled.
* @jsptagref.databindable true
* @jsptagref.attributesyntaxvalue <i>boolean_or_booleanExpression</i>
@@ -173,7 +176,7 @@
/**
* Sets the TreeItem's href.
- * @param href - the href
+ * @param href the href
* @jsptagref.attributedescription The href attribute of the node's link.
* @jsptagref.databindable true
* @jsptagref.attributesyntaxvalue <i>string_or_expression</i>
@@ -224,7 +227,7 @@
/**
* Sets the TreeItem icon URI.
- * @param icon - the icon URI
+ * @param icon the icon URI
* @jsptagref.attributedescription The icon URI.
* @jsptagref.databindable true
* @jsptagref.attributesyntaxvalue <i>string_or_expression</i>
@@ -243,9 +246,6 @@
* it will set the text of the label. A child <code>TreeLabel</code> will override the <code>label</code>
* attribute.
* @param label The text of the Label to be displayed for this TreeItem.
- * @jsptagref.attributedescription
- * @jsptagref.databindable
- * @jsptagref.attributesyntaxvalue <i></i>
*/
public void setItemLabel(String label)
{
@@ -296,7 +296,7 @@
/**
* Sets the window target.
- * @param target - the window target.
+ * @param target the window target.
* @jsptagref.attributedescription Sets the window target of the node's link.
* @jsptagref.databindable true
* @jsptagref.attributesyntaxvalue <i>string_or_expression</i>
Modified: incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/TreePropertyOverride.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/TreePropertyOverride.java?rev=170884&r1=170883&r2=170884&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/TreePropertyOverride.java (original)
+++ incubator/beehive/trunk/netui/src/tags-html/org/apache/beehive/netui/tags/tree/TreePropertyOverride.java Wed May 18 23:40:39 2005
@@ -44,7 +44,7 @@
/**
* Sets the action used for expanding and contracting tree nodes.
- * @param action - the action
+ * @param action the action
* @jsptagref.attributedescription Sets the action used for expanding and contracting tree nodes.
* @jsptagref.databindable true
* @jsptagref.attributesyntaxvalue <i>string</i>
@@ -58,7 +58,7 @@
/**
* Sets the action used for expanding and contracting tree nodes.
- * @param action - the action
+ * @param action the action
* @jsptagref.attributedescription Sets the action used for expanding and contracting tree nodes.
* @jsptagref.databindable true
* @jsptagref.attributesyntaxvalue <i>string_or_expression</i>
@@ -72,10 +72,10 @@
/**
* Sets the image name for an open non-leaf node with no
- * line below it. (Defaults to "handledownlast.gif").
- * @param lastNodeExpandedImage - the image name (including extension)
+ * line below it. (Defaults to "lastNodeExpanded.gif").
+ * @param lastNodeExpandedImage the image name (including extension)
* @jsptagref.attributedescription Sets the image name for an open non-leaf node with no
- * line below it. (Defaults to "handledownlast.gif").
+ * line below it. (Defaults to "lastNodeExpanded.gif").
* @jsptagref.databindable true
* @jsptagref.attributesyntaxvalue <i>string</i>
* @netui:attribute required="false"
@@ -89,10 +89,10 @@
/**
* Sets the image name for an open non-leaf node with a
- * line below it. (Defaults to "handledownmiddle.gif").
- * @param nodeExpandedImage - the image name (including extension)
+ * line below it. (Defaults to "nodeExpanded.gif").
+ * @param nodeExpandedImage the image name (including extension)
* @jsptagref.attributedescription Sets the image name for an open non-leaf node with a
- * line below it. (Defaults to "handledownmiddle.gif").
+ * line below it. (Defaults to "nodeExpanded.gif").
* @jsptagref.databindable true
* @jsptagref.attributesyntaxvalue <i>string</i>
* @netui:attribute required="false"
@@ -106,10 +106,10 @@
/**
* Sets the image name for a closed non-leaf node with no
- * line below it. (Defaults to "handlerightlast.gif").
- * @param lastNodeCollapsedImage - the image name (including extension)
+ * line below it. (Defaults to "lastNodeCollapsed.gif").
+ * @param lastNodeCollapsedImage the image name (including extension)
* @jsptagref.attributedescription Sets the image name for a closed non-leaf node with no
- * line below it. (Defaults to "handlerightlast.gif").
+ * line below it. (Defaults to "lastNodeCollapsed.gif").
* @jsptagref.databindable true
* @jsptagref.attributesyntaxvalue <i>string</i>
* @netui:attribute required="false"
@@ -123,10 +123,10 @@
/**
* Sets the image name for a closed non-leaf node with a
- * line below it. (Defaults to "handlerightmiddle.gif").
- * @param nodeCollapsedImage - the image name (including extension)
+ * line below it. (Defaults to "nodeCollapsed.gif").
+ * @param nodeCollapsedImage the image name (including extension)
* @jsptagref.attributedescription Sets the image name for a closed non-leaf node with a
- * line below it. (Defaults to "handlerightmiddle.gif").
+ * line below it. (Defaults to "nodeCollapsed.gif").
* @jsptagref.databindable true
* @jsptagref.attributesyntaxvalue <i>string</i>
* @netui:attribute required="false"
@@ -140,10 +140,10 @@
/**
* Sets the image name for a blank area of the tree.
- * (Defaults to "linelastnode.gif").
- * @param lastLineJoinImage - the image name (including extension)
+ * (Defaults to "lastLineJoin.gif").
+ * @param lastLineJoinImage the image name (including extension)
* @jsptagref.attributedescription Sets the image name for a blank area of the tree.
- * (Defaults to "linelastnode.gif").
+ * (Defaults to "lastLineJoin.gif").
* @jsptagref.databindable true
* @jsptagref.attributesyntaxvalue <i>string</i>
* @netui:attribute required="false"
@@ -156,10 +156,10 @@
/**
* Sets the default icon for TreeElements for a blank area of the tree.
- * (Defaults to "linelastnode.gif").
- * @param itemIcon - the image name of the itemIcon
+ * (Defaults to "folder.gif").
+ * @param itemIcon the image name of the itemIcon
* @jsptagref.attributedescription Sets the default icon for tree nodes
- * for a blank area of the tree. (Defaults to "linelastnode.gif").
+ * for a blank area of the tree. (Defaults to "folder.gif").
* @jsptagref.databindable true
* @jsptagref.attributesyntaxvalue <i>string</i>
* @netui:attribute required="false"
@@ -172,10 +172,10 @@
/**
* Sets the image name for an area with a line through it.
- * (Defaults to "linemiddlenode.gif").
- * @param lineJoinImage - the image name (including extension)
+ * (Defaults to "lineJoin.gif").
+ * @param lineJoinImage the image name (including extension)
* @jsptagref.attributedescription Sets the image name for an area with a line through it.
- * (Defaults to "linemiddlenode.gif").
+ * (Defaults to "lineJoin.gif").
* @jsptagref.databindable true
* @jsptagref.attributesyntaxvalue <i>string</i>
* @netui:attribute required="false"
@@ -188,10 +188,10 @@
/**
* Sets the image name for an area with a line through it.
- * (Defaults to "linevertical.gif").
- * @param verticalLineImage - the image name (including extension)
+ * (Defaults to "verticalLine.gif").
+ * @param verticalLineImage the image name (including extension)
* @jsptagref.attributedescription Sets the image name for an area with a line through it.
- * (Defaults to "linevertical.gif").
+ * (Defaults to "verticalLine.gif").
* @jsptagref.databindable true
* @jsptagref.attributesyntaxvalue <i>string</i>
* @netui:attribute required="false"
@@ -205,7 +205,7 @@
/**
* Sets the name of the directory containing the images for our icons,
* relative to the page including this tag.
- * @param imageRoot - the directory name
+ * @param imageRoot the directory name
* @jsptagref.attributedescription Sets the name of the directory containing the images for our icons,
* relative to the page including this tag.
* @jsptagref.databindable true
@@ -224,7 +224,7 @@
* is explicitly set, this works exactly the same as all other inheritable
* properties. When this is not set, it will return the <code>getImageRoot</code>
* location.
- * @param iconRoot - the directory name for the icons
+ * @param iconRoot the directory name for the icons
* @jsptagref.attributedescription The directory containing the icon images for tree items.
* @jsptagref.databindable false
* @jsptagref.attributesyntaxvalue <i>string_iconRoot</i>