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/11/11 14:36:14 UTC
svn commit: r834879 - in
/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago:
component/AbstractUIGridLayout.java component/Cell.java
taglib/component/CellTagDeclaration.java
Author: lofwyr
Date: Wed Nov 11 13:36:14 2009
New Revision: 834879
URL: http://svn.apache.org/viewvc?rev=834879&view=rev
Log:
TOBAGO-606: Layout Manager: cleanup
Removed:
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/Cell.java
Modified:
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/AbstractUIGridLayout.java
myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/CellTagDeclaration.java
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/AbstractUIGridLayout.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/AbstractUIGridLayout.java?rev=834879&r1=834878&r2=834879&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/AbstractUIGridLayout.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/component/AbstractUIGridLayout.java Wed Nov 11 13:36:14 2009
@@ -48,10 +48,6 @@
private Grid grid;
- // /////////////////////////////////////////////////////////////////////////////////////////
- // new layout mechanism
- // /////////////////////////////////////////////////////////////////////////////////////////
-
public void init() {
grid = new Grid(LayoutTokens.parse(getColumns()), LayoutTokens.parse(getRows()));
@@ -247,7 +243,8 @@
Measure position = LayoutUtils.getBeginOffset(orientation, getLayoutContainer());
for (int k = 0; k < i; k++) {
if (pixelMeasures[k] == null) {
- LOG.warn("Measure is null, should be debugged... i=" + i + " k=" + k + " grid=" + grid, new RuntimeException());
+ LOG.warn("Measure is null, should be debugged... i=" + i + " k=" + k + " grid=" + grid,
+ new RuntimeException());
} else {
position = position.add(pixelMeasures[k]);
}
Modified: myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/CellTagDeclaration.java
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/CellTagDeclaration.java?rev=834879&r1=834878&r2=834879&view=diff
==============================================================================
--- myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/CellTagDeclaration.java (original)
+++ myfaces/tobago/trunk/core/src/main/java/org/apache/myfaces/tobago/taglib/component/CellTagDeclaration.java Wed Nov 11 13:36:14 2009
@@ -35,7 +35,6 @@
@UIComponentTag(
uiComponent = "org.apache.myfaces.tobago.component.UICell",
uiComponentBaseClass = "org.apache.myfaces.tobago.component.AbstractUICell",
- interfaces = "org.apache.myfaces.tobago.component.Cell",
componentType = "org.apache.myfaces.tobago.Cell",
rendererType = RendererTypes.CELL)
public interface CellTagDeclaration extends HasIdBindingAndRendered, IsGridLayoutComponent {