You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@struts.apache.org by tm...@apache.org on 2006/07/15 17:42:08 UTC
svn commit: r422253 -
/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java
Author: tmjee
Date: Sat Jul 15 08:42:07 2006
New Revision: 422253
URL: http://svn.apache.org/viewvc?rev=422253&view=rev
Log:
WW-1317
- changes in javadoc (uses dojo tooltip attributes as example)
Modified:
struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java
Modified: struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java?rev=422253&r1=422252&r2=422253&view=diff
==============================================================================
--- struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java (original)
+++ struts/struts2/trunk/core/src/main/java/org/apache/struts2/components/UIBean.java Sat Jul 15 08:42:07 2006
@@ -306,17 +306,17 @@
*
* <p/>
*
- * In Example 1, the textfield will inherit the tooltipAboveMousePointer attribte from
+ * In Example 1, the textfield will inherit the tooltipDelay adn tooltipIcon attribte from
* its containing form. In other words, although it doesn't defined a tooltipAboveMousePointer
- * attribute, it will have that attribute defined as true inherited from its containing form.
+ * attribute, it will have that attributes inherited from its containing form.
*
* <p/>
*
- * In Example 2, the the textfield will inherite both the tooltipAboveMousePointer and
- * tooltipLeftOfMousePointer attribute from its containing form but tooltipLeftOfMousePointer
+ * In Example 2, the the textfield will inherite both the tooltipDelay and
+ * tooltipIcon attribute from its containing form but tooltipDelay
* attribute is overriden at the textfield itself. Hence, the textfield actually will
- * have tooltipAboveMousePointer defined as true, inherited from its containing form and
- * tooltipLeftOfMousePointer defined as false, due to overriden at the textfield itself.
+ * have tooltipIcon defined as /myImages/myIcon.gif, inherited from its containing form and
+ * tooltipDelay defined as 5000, due to overriden at the textfield itself.
*
* <p/>
*
@@ -333,8 +333,8 @@
*
* <!-- Example 1: -->
* <a:form
- * tooltipConfig="#{'tooltipAboveMousePointer':'true',
- * 'tooltipBgColor='#eeeeee'}" .... >
+ * tooltipConfig="#{'tooltipDelay':'500',
+ * 'tooltipIcon='/myImages/myIcon.gif'}" .... >
* ....
* <a:textfield label="Customer Name" tooltip="Enter the customer name" .... />
* ....
@@ -342,12 +342,12 @@
*
* <!-- Example 2: -->
* <a:form
- * tooltipConfig="#{'tooltipAboveMousePointer':'true',
- * 'tooltipLeftOfMousePointer':'true'}" ... >
+ * tooltipConfig="#{'tooltipDelay':'500',
+ * 'tooltipIcon':'/myImages/myIcon.gif'}" ... >
* ....
* <a:textfield label="Address"
* tooltip="Enter your address"
- * tooltipConfig="#{'tooltipLeftOfMousePointer':'false'}" />
+ * tooltipConfig="#{'tooltipDelay':'5000'}" />
* ....
* </a:form>
*
@@ -357,9 +357,8 @@
* label="Customer Name"
* tooltip="One of our customer Details'">
* <a:param name="tooltipConfig">
- * tooltipWidth = 150 |
- * tooltipAboveMousePointer = false |
- * tooltipLeftOfMousePointer = false
+ * tooltipDelay = 500 |
+ * tooltipIcon = /myImages/myIcon.gif
* </a:param>
* </a:textfield>
*
@@ -370,10 +369,8 @@
* tooltip="Enter The Customer Address" >
* <a:param
* name="tooltipConfig"
- * value="#{'tooltipStatic':'true',
- * 'tooltipSticky':'true',
- * 'tooltipAboveMousePointer':'false',
- * 'tooltipLeftOfMousePointer':'false'}" />
+ * value="#{'tooltipDelay':'500',
+ * 'tooltipIcon':'/myImages/myIcon.gif'}" />
* </a:textfield>
*
*
@@ -381,10 +378,8 @@
* <a:textfield
* label="Customer Telephone Number"
* tooltip="Enter customer Telephone Number"
- * tooltipConfig="#{'tooltipBgColor':'#cccccc',
- * 'tooltipFontColor':'#eeeeee',
- * 'tooltipAboveMousePointer':'false',
- * 'tooltipLeftOfMousePointer':'false'}" /<
+ * tooltipConfig="#{'tooltipDelay':'500',
+ * 'tooltipIcon':'/myImages/myIcon.gif'}" />
*
* <!-- END SNIPPET: tooltipexample -->
* </pre>