You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2006/01/02 21:03:57 UTC

svn commit: r365415 - in /incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component: SelectBooleanCommandTag.java ToolBarSelectBooleanTag.java

Author: weber
Date: Mon Jan  2 12:03:52 2006
New Revision: 365415

URL: http://svn.apache.org/viewcvs?rev=365415&view=rev
Log:
adding tip to ToolbarSelectBooleanTag

Modified:
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectBooleanCommandTag.java
    incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectBooleanTag.java

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectBooleanCommandTag.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectBooleanCommandTag.java?rev=365415&r1=365414&r2=365415&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectBooleanCommandTag.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/SelectBooleanCommandTag.java Mon Jan  2 12:03:52 2006
@@ -33,6 +33,8 @@
   private String accessKey;
   private String labelWithAccessKey;
   private String value;
+  private String tip;
+
 
   public String getComponentType() {
     return UICommand.COMPONENT_TYPE;
@@ -48,6 +50,7 @@
     ComponentUtil.setStringProperty(component, ATTR_LABEL, label);
     ComponentUtil.setStringProperty(component, ATTR_ACCESS_KEY, accessKey);
     ComponentUtil.setStringProperty(component, ATTR_LABEL_WITH_ACCESS_KEY, labelWithAccessKey);
+    ComponentUtil.setStringProperty(component, ATTR_TIP, tip);
   }
 
   public void release() {
@@ -76,5 +79,13 @@
 
   public void setLabelWithAccessKey(String labelWithAccessKey) {
     this.labelWithAccessKey = labelWithAccessKey;
+  }
+
+  public String getTip() {
+    return tip;
+  }
+
+  public void setTip(String tip) {
+    this.tip = tip;
   }
 }

Modified: incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectBooleanTag.java
URL: http://svn.apache.org/viewcvs/incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectBooleanTag.java?rev=365415&r1=365414&r2=365415&view=diff
==============================================================================
--- incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectBooleanTag.java (original)
+++ incubator/tobago/trunk/tobago-core/src/main/java/org/apache/myfaces/tobago/taglib/component/ToolBarSelectBooleanTag.java Mon Jan  2 12:03:52 2006
@@ -24,6 +24,7 @@
 import org.apache.myfaces.tobago.taglib.decl.HasIdBindingAndRendered;
 import org.apache.myfaces.tobago.taglib.decl.HasImage;
 import org.apache.myfaces.tobago.taglib.decl.HasLabelAndAccessKey;
+import org.apache.myfaces.tobago.taglib.decl.HasTip;
 import org.apache.myfaces.tobago.taglib.decl.IsDisabled;
 import org.apache.myfaces.tobago.taglib.decl.IsImmediateCommand;
 
@@ -36,7 +37,7 @@
 @Tag(name = "toolBarCheck")
 public class ToolBarSelectBooleanTag extends SelectBooleanCommandTag
     implements HasIdBindingAndRendered, HasLabelAndAccessKey, HasCommandType,
-    HasImage, IsDisabled, HasAction, HasBooleanValue, IsImmediateCommand {
+    HasImage, IsDisabled, HasAction, HasBooleanValue, HasTip, IsImmediateCommand {
 
   private String image;