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/08/31 17:50:56 UTC

svn commit: r809638 - /myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/size-minimum.xhtml

Author: lofwyr
Date: Mon Aug 31 15:50:56 2009
New Revision: 809638

URL: http://svn.apache.org/viewvc?rev=809638&view=rev
Log:
TOBAGO-606: Layout-Manager
 - test the minimum attributes

Added:
    myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/size-minimum.xhtml
      - copied, changed from r805731, myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/size-not-exact.xhtml

Copied: myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/size-minimum.xhtml (from r805731, myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/size-not-exact.xhtml)
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/size-minimum.xhtml?p2=myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/size-minimum.xhtml&p1=myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/size-not-exact.xhtml&r1=805731&r2=809638&rev=809638&view=diff
==============================================================================
--- myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/size-not-exact.xhtml (original)
+++ myfaces/tobago/trunk/example/test/src/main/webapp/tc/gridLayout/size-minimum.xhtml Mon Aug 31 15:50:56 2009
@@ -9,17 +9,17 @@
 
   <tc:page id="page">
     <f:facet name="layout">
-      <tc:gridLayout columns="*;*" columnSpacing="0px"/>
+      <tc:gridLayout columns="*" rows="*"/>
     </f:facet>
-    <tc:gridLayoutConstraint width="201px" height="200px"/>
+    <tc:gridLayoutConstraint width="200px" height="200px"/>
 
-    <tc:image id="image-0" value="pidgeon-point.jpg"/>
-    <tc:image id="image-1" value="pidgeon-point.jpg"/>
+    <tc:image id="image-0" value="pidgeon-point.jpg">
+      <tc:gridLayoutConstraint minimumWidth="300px" minimumHeight="300px"/>
+    </tc:image>
 
     <tc:script file="script/test-utils.js"/>
 
-    <tc:script onload="checkLayout('page:image-0', 0, 0, 100, 200);"/>
-    <tc:script onload="checkLayout('page:image-1', 100, 0, 101, 200);"/>
+    <tc:script onload="checkLayout('page:image-0', 0, 0, 300, 300);"/>
 
   </tc:page>
 </f:view>