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 2010/04/29 17:33:04 UTC

svn commit: r939349 - /myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/

Author: lofwyr
Date: Thu Apr 29 15:33:04 2010
New Revision: 939349

URL: http://svn.apache.org/viewvc?rev=939349&view=rev
Log:
TOBAGO-606: layout manager
 - when there a too few components, they should be handle in the same manner like cells with rendered=false

Modified:
    myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/too-less-components-horizontal-6.xhtml
    myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/too-less-components-horizontal.xhtml
    myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/too-less-components-vertical-6.xhtml
    myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/too-less-components-vertical.xhtml
    myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/too-much-components.xhtml

Modified: myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/too-less-components-horizontal-6.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/too-less-components-horizontal-6.xhtml?rev=939349&r1=939348&r2=939349&view=diff
==============================================================================
--- myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/too-less-components-horizontal-6.xhtml (original)
+++ myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/too-less-components-horizontal-6.xhtml Thu Apr 29 15:33:04 2010
@@ -8,7 +8,7 @@
     xmlns:f="http://java.sun.com/jsf/core">
 
   <tc:page id="page">
-    <tc:gridLayoutConstraint width="625px" height="100px"/>
+    <tc:gridLayoutConstraint width="310px" height="100px"/>
     <f:facet name="layout">
       <tc:gridLayout columns="*;*;*;*;*;*" rows="*" />
     </f:facet>

Modified: myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/too-less-components-horizontal.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/too-less-components-horizontal.xhtml?rev=939349&r1=939348&r2=939349&view=diff
==============================================================================
--- myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/too-less-components-horizontal.xhtml (original)
+++ myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/too-less-components-horizontal.xhtml Thu Apr 29 15:33:04 2010
@@ -8,7 +8,7 @@
     xmlns:f="http://java.sun.com/jsf/core">
 
   <tc:page id="page">
-    <tc:gridLayoutConstraint width="205px" height="100px"/>
+    <tc:gridLayoutConstraint width="100px" height="100px"/>
     <f:facet name="layout">
       <tc:gridLayout columns="*;*" rows="*" />
     </f:facet>

Modified: myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/too-less-components-vertical-6.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/too-less-components-vertical-6.xhtml?rev=939349&r1=939348&r2=939349&view=diff
==============================================================================
--- myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/too-less-components-vertical-6.xhtml (original)
+++ myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/too-less-components-vertical-6.xhtml Thu Apr 29 15:33:04 2010
@@ -8,7 +8,7 @@
     xmlns:f="http://java.sun.com/jsf/core">
 
   <tc:page id="page">
-    <tc:gridLayoutConstraint width="100px" height="625px"/>
+    <tc:gridLayoutConstraint width="100px" height="310px"/>
     <f:facet name="layout">
       <tc:gridLayout columns="*" rows="*;*;*;*;*;*" />
     </f:facet>

Modified: myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/too-less-components-vertical.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/too-less-components-vertical.xhtml?rev=939349&r1=939348&r2=939349&view=diff
==============================================================================
--- myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/too-less-components-vertical.xhtml (original)
+++ myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/too-less-components-vertical.xhtml Thu Apr 29 15:33:04 2010
@@ -8,7 +8,7 @@
     xmlns:f="http://java.sun.com/jsf/core">
 
   <tc:page id="page">
-    <tc:gridLayoutConstraint width="100px" height="205px"/>
+    <tc:gridLayoutConstraint width="100px" height="100px"/>
     <f:facet name="layout">
       <tc:gridLayout columns="*" rows="*;*" />
     </f:facet>

Modified: myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/too-much-components.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/too-much-components.xhtml?rev=939349&r1=939348&r2=939349&view=diff
==============================================================================
--- myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/too-much-components.xhtml (original)
+++ myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/too-much-components.xhtml Thu Apr 29 15:33:04 2010
@@ -8,7 +8,7 @@
     xmlns:f="http://java.sun.com/jsf/core">
 
   <tc:page id="page">
-    <tc:gridLayoutConstraint width="205px" height="100px"/>
+    <tc:gridLayoutConstraint width="205px" height="205px"/>
     <f:facet name="layout">
       <tc:gridLayout columns="*;*" rows="*" />
     </f:facet>
@@ -20,6 +20,9 @@
 
     <tc:script file="script/test-utils.js"/>
     <tc:script onload="checkLayout('page:i-0', 0, 0, 100, 100);"/>
-    
+    <tc:script onload="checkLayout('page:i-1', 105, 0, 100, 100);"/>
+    <tc:script onload="checkLayout('page:i-2', 0, 105, 100, 100);"/>
+    <tc:script onload="checkLayout('page:i-3', 105, 105, 100, 100);"/>
+
   </tc:page>
 </f:view>