myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r617876 - /myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectOneChoiceExtensionTag.java
Date Sat, 02 Feb 2008 19:59:57 GMT
Author: bommel
Date: Sat Feb  2 11:59:56 2008
New Revision: 617876

URL: http://svn.apache.org/viewvc?rev=617876&view=rev
Log:
(TOBAGO-524) Markup-attribute on tx:selectOneChoice is missing

Modified:
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectOneChoiceExtensionTag.java

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectOneChoiceExtensionTag.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectOneChoiceExtensionTag.java?rev=617876&r1=617875&r2=617876&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectOneChoiceExtensionTag.java
(original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/extension/SelectOneChoiceExtensionTag.java
Sat Feb  2 11:59:56 2008
@@ -37,6 +37,7 @@
 import org.apache.myfaces.tobago.taglib.decl.IsReadonly;
 import org.apache.myfaces.tobago.taglib.decl.IsRendered;
 import org.apache.myfaces.tobago.taglib.decl.IsRequired;
+import org.apache.myfaces.tobago.taglib.decl.HasMarkup;
 
 import javax.servlet.jsp.JspException;
 import javax.servlet.jsp.tagext.BodyTagSupport;
@@ -51,7 +52,7 @@
     extends BodyTagSupport
     implements HasId, HasValue, HasValueChangeListener, IsDisabled,
     IsReadonly, HasOnchange, IsInline, HasLabel, HasLabelWidth, IsRequired,
-    IsRendered, IsFocus, HasBinding, HasTip, HasValidator, HasConverter, HasTabIndex {
+    IsRendered, IsFocus, HasBinding, HasTip, HasValidator, HasConverter, HasMarkup, HasTabIndex
{
 
   private String required;
   private String value;
@@ -69,6 +70,7 @@
   private String labelWidth;
   private String tabIndex;
   private String focus;
+  private String markup;
 
   private LabelExtensionTag labelTag;
   private SelectOneChoiceTag selectOneChoiceTag;
@@ -116,7 +118,9 @@
     if (disabled != null) {
       selectOneChoiceTag.setDisabled(disabled);
     }
-
+    if (markup != null) {
+      selectOneChoiceTag.setMarkup(markup);
+    }
     if (inline != null) {
       selectOneChoiceTag.setInline(inline);
     }
@@ -169,6 +173,7 @@
     selectOneChoiceTag = null;
     labelTag = null;
     focus = null;
+    markup = null;
   }
 
   public void setRequired(String required) {
@@ -233,5 +238,9 @@
 
   public void setFocus(String focus) {
     this.focus = focus;
+  }
+
+  public void setMarkup(String markup) {
+    this.markup = markup;
   }
 }



Mime
View raw message