You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2009/09/30 11:26:37 UTC

svn commit: r820228 - /myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/GridLayoutConstraintTag.java

Author: lofwyr
Date: Wed Sep 30 09:26:37 2009
New Revision: 820228

URL: http://svn.apache.org/viewvc?rev=820228&view=rev
Log:
TOBAGO-800
 this is the 1.2 version

Modified:
    myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/GridLayoutConstraintTag.java

Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/GridLayoutConstraintTag.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/GridLayoutConstraintTag.java?rev=820228&r1=820227&r2=820228&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/GridLayoutConstraintTag.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/GridLayoutConstraintTag.java Wed Sep 30 09:26:37 2009
@@ -27,6 +27,7 @@
 import org.apache.myfaces.tobago.layout.LayoutObject;
 import org.apache.myfaces.tobago.layout.Measure;
 
+import javax.el.ValueExpression;
 import javax.faces.component.UIComponent;
 import javax.faces.el.ValueBinding;
 import javax.faces.webapp.UIComponentTag;
@@ -47,69 +48,69 @@
    * @param columnSpan The number of horizontal cells this component should use.
    */
   @TagAttribute
-  public abstract void setColumnSpan(String columnSpan);
+  public abstract void setColumnSpan(ValueExpression columnSpan);
 
   /**
    * @param rowSpan The number of vertical cells this component should use.
    */
   @TagAttribute
-  public abstract void setRowSpan(String rowSpan);
+  public abstract void setRowSpan(ValueExpression rowSpan);
 
   /**
    * @param width The width for this component.
    */
   @TagAttribute
   @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.Measure")
-  public abstract void setWidth(String width);
+  public abstract void setWidth(ValueExpression width);
 
   /**
    * @param height The height for this component.
    */
   @TagAttribute
   @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.Measure")
-  public abstract void setHeight(String height);
+  public abstract void setHeight(ValueExpression height);
 
   /**
    * @param minimumWidth The minimum width for this component.
    */
   @TagAttribute
   @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.Measure")
-  public abstract void setMinimumWidth(String minimumWidth);
+  public abstract void setMinimumWidth(ValueExpression minimumWidth);
 
   /**
    * @param minimumHeight The minimum height for this component.
    */
   @TagAttribute
   @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.Measure")
-  public abstract void setMinimumHeight(String minimumHeight);
+  public abstract void setMinimumHeight(ValueExpression minimumHeight);
 
   /**
    * @param preferredWidth The preferred width for this component.
    */
   @TagAttribute
   @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.Measure")
-  public abstract void setPreferredWidth(String preferredWidth);
+  public abstract void setPreferredWidth(ValueExpression preferredWidth);
 
   /**
    * @param preferredHeight The preferred height for this component.
    */
   @TagAttribute
   @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.Measure")
-  public abstract void setPreferredHeight(String preferredHeight);
+  public abstract void setPreferredHeight(ValueExpression preferredHeight);
 
   /**
    * @param maximumWidth The maximum width for this component.
    */
   @TagAttribute
   @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.Measure")
-  public abstract void setMaximumWidth(String maximumWidth);
+  public abstract void setMaximumWidth(ValueExpression maximumWidth);
 
   /**
    * @param maximumHeight The maximum height for this component.
    */
   @TagAttribute
   @UIComponentTagAttribute(type = "org.apache.myfaces.tobago.layout.Measure")
-  public abstract void setMaximumHeight(String maximumHeight);
+  public abstract void setMaximumHeight(ValueExpression maximumHeight);
 
   @Override
   public int doStartTag() throws JspException {