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 2014/03/28 12:18:25 UTC
svn commit: r1582705 -
/myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIGridLayout.java
Author: lofwyr
Date: Fri Mar 28 11:18:25 2014
New Revision: 1582705
URL: http://svn.apache.org/r1582705
Log:
TOBAGO-1379: Layout problem leads to unusable DatePicker-Popup
Modified:
myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIGridLayout.java
Modified: myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIGridLayout.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIGridLayout.java?rev=1582705&r1=1582704&r2=1582705&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIGridLayout.java (original)
+++ myfaces/tobago/branches/tobago-3.0.x/tobago-core/src/main/java/org/apache/myfaces/tobago/internal/component/AbstractUIGridLayout.java Fri Mar 28 11:18:25 2014
@@ -190,11 +190,13 @@ public abstract class AbstractUIGridLayo
heads[i].setCurrent(intervalList.getCurrent());
} else {
heads[i].setCurrent(Measure.valueOf(100));
- LOG.warn("Found an 'auto' token in {} definition, but there is no component inside with span = 1! " +
- "So the value for 'auto' can't be evaluated (clientId={}). Using 100px.",
+ LOG.warn("Found an 'auto' token in {} definition, but there is no component inside with span = 1! "
+ + "So the value for 'auto' can't be evaluated (clientId={}). Using 100px.",
orientation == Orientation.HORIZONTAL ? "columns" : "rows",
getClientId(getFacesContext()));
}
+ } else {
+ heads[i].setCurrent(Measure.ZERO);
}
}
i++;