You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beehive.apache.org by ek...@apache.org on 2005/05/03 02:43:19 UTC
svn commit: r167837 - in
/incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid:
AbstractHtmlTableCell.java Caption.java Header.java HeaderCell.java Rows.java
Author: ekoneil
Date: Mon May 2 17:43:18 2005
New Revision: 167837
URL: http://svn.apache.org/viewcvs?rev=167837&view=rev
Log:
Fix for JIRA 560. Add the lang and dir attributes to the data grid's caption tag.
Also fix a Javadoc bug with a runon word. For that matter, is it "runon" or "run on"?
:)
BB: self
DRT: NetUI pass
Modified:
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractHtmlTableCell.java
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/Caption.java
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/Header.java
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/HeaderCell.java
incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/Rows.java
Modified: incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractHtmlTableCell.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractHtmlTableCell.java?rev=167837&r1=167836&r2=167837&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractHtmlTableCell.java (original)
+++ incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/AbstractHtmlTableCell.java Mon May 2 17:43:18 2005
@@ -336,7 +336,7 @@
}
/**
- * Sets the value of the languageattribute.
+ * Sets the value of the language attribute.
*
* @param lang
* @jsptagref.attributedescription The language.
Modified: incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/Caption.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/Caption.java?rev=167837&r1=167836&r2=167837&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/Caption.java (original)
+++ incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/Caption.java Mon May 2 17:43:18 2005
@@ -223,6 +223,34 @@
}
/**
+ * Sets the value of the language attribute.
+ *
+ * @param lang
+ * @jsptagref.attributedescription The language.
+ * @jsptagref.databindable true
+ * @jsptagref.attributesyntaxvalue <i>string_lang</i>
+ * @netui:attribute required="false" rtexprvalue="true" description="The cell's language"
+ * @netui.tldx:attribute category="misc"
+ */
+ public void setLang(String lang) {
+ _captionTag.registerAttribute(AbstractHtmlState.ATTR_GENERAL, HtmlConstants.LANG, lang);
+ }
+
+ /**
+ * Sets the value of the text direction attribute.
+ *
+ * @param dir
+ * @jsptagref.attributedescription The text direction attribute.
+ * @jsptagref.databindable true
+ * @jsptagref.attributesyntaxvalue <i>string_dir</i>
+ * @netui:attribute required="false" rtexprvalue="true" description="The cell's text direction"
+ * @netui.tldx:attribute category="misc"
+ */
+ public void setDir(String dir) {
+ _captionTag.registerAttribute(AbstractHtmlState.ATTR_GENERAL, HtmlConstants.DIR, dir);
+ }
+
+ /**
* Set the name of the tagId for the caption.
*
* @param tagId - the the name of the tagId for the caption.
Modified: incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/Header.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/Header.java?rev=167837&r1=167836&r2=167837&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/Header.java (original)
+++ incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/Header.java Mon May 2 17:43:18 2005
@@ -284,7 +284,7 @@
}
/**
- * Sets the value of the languageattribute.
+ * Sets the value of the language attribute.
*
* @param lang
* @jsptagref.attributedescription The language.
Modified: incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/HeaderCell.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/HeaderCell.java?rev=167837&r1=167836&r2=167837&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/HeaderCell.java (original)
+++ incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/HeaderCell.java Mon May 2 17:43:18 2005
@@ -412,7 +412,7 @@
}
/**
- * Sets the value of the languageattribute.
+ * Sets the value of the language attribute.
*
* @param lang
* @jsptagref.attributedescription The language.
Modified: incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/Rows.java
URL: http://svn.apache.org/viewcvs/incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/Rows.java?rev=167837&r1=167836&r2=167837&view=diff
==============================================================================
--- incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/Rows.java (original)
+++ incubator/beehive/trunk/netui/src/tags-databinding/org/apache/beehive/netui/tags/databinding/datagrid/Rows.java Mon May 2 17:43:18 2005
@@ -284,7 +284,7 @@
}
/**
- * Sets the value of the languageattribute.
+ * Sets the value of the language attribute.
*
* @param lang
* @jsptagref.attributedescription The language.