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 2011/03/15 15:46:10 UTC
svn commit: r1081805 -
/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/
Author: lofwyr
Date: Tue Mar 15 14:46:09 2011
New Revision: 1081805
URL: http://svn.apache.org/viewvc?rev=1081805&view=rev
Log:
layout samples
Added:
myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/tabGroup-auto-auto.xhtml
- copied, changed from r1081676, myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/tabGroup-auto.xhtml
Modified:
myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/horizontal-600px-asterisk-default.xhtml
myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/relative-inside-auto-1-1-cannot-match.xhtml
myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/relative-inside-auto-1-1.xhtml
myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/relative-inside-auto-1-3.xhtml
Modified: myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/horizontal-600px-asterisk-default.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/horizontal-600px-asterisk-default.xhtml?rev=1081805&r1=1081804&r2=1081805&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/horizontal-600px-asterisk-default.xhtml (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/horizontal-600px-asterisk-default.xhtml Tue Mar 15 14:46:09 2011
@@ -31,7 +31,7 @@
<tc:in id="in" value="Width should be 600px"/>
<tc:script file="script/test-utils.js"/>
- <tc:script onload="checkWidth('page:in', 600);"/>
+ <tc:script onload="checkWidth(document.getElementById('page:in'), 600);"/>
</tc:page>
</f:view>
Modified: myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/relative-inside-auto-1-1-cannot-match.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/relative-inside-auto-1-1-cannot-match.xhtml?rev=1081805&r1=1081804&r2=1081805&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/relative-inside-auto-1-1-cannot-match.xhtml (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/relative-inside-auto-1-1-cannot-match.xhtml Tue Mar 15 14:46:09 2011
@@ -28,9 +28,9 @@
<tc:gridLayout columns="auto;*" rows="20px;100px;100px;100px;*"/>
</f:facet>
- <tc:label value="one row with 'auto'"/>
+ <tc:label value="one column with 'auto'"/>
- <tc:label value="one row with '*'"/>
+ <tc:label value="one column with '*'"/>
<tc:panel id="panel">
<f:facet name="layout">
Modified: myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/relative-inside-auto-1-1.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/relative-inside-auto-1-1.xhtml?rev=1081805&r1=1081804&r2=1081805&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/relative-inside-auto-1-1.xhtml (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/relative-inside-auto-1-1.xhtml Tue Mar 15 14:46:09 2011
@@ -28,9 +28,9 @@
<tc:gridLayout columns="auto;*" rows="20px;100px;100px;100px;*"/>
</f:facet>
- <tc:label value="one row with 'auto'"/>
+ <tc:label value="one column with 'auto'"/>
- <tc:label value="one row with '*'"/>
+ <tc:label value="one column with '*'"/>
<tc:panel id="panel">
<f:facet name="layout">
Modified: myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/relative-inside-auto-1-3.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/relative-inside-auto-1-3.xhtml?rev=1081805&r1=1081804&r2=1081805&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/relative-inside-auto-1-3.xhtml (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/relative-inside-auto-1-3.xhtml Tue Mar 15 14:46:09 2011
@@ -28,9 +28,9 @@
<tc:gridLayout columns="auto;*" rows="20px;100px;100px;100px;*"/>
</f:facet>
- <tc:label value="one row with 'auto'"/>
+ <tc:label value="one column with 'auto'"/>
- <tc:label value="one row with '*'"/>
+ <tc:label value="one column with '*'"/>
<tc:panel id="panel">
<f:facet name="layout">
Copied: myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/tabGroup-auto-auto.xhtml (from r1081676, myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/tabGroup-auto.xhtml)
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/tabGroup-auto-auto.xhtml?p2=myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/tabGroup-auto-auto.xhtml&p1=myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/tabGroup-auto.xhtml&r1=1081676&r2=1081805&rev=1081805&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/tabGroup-auto.xhtml (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-test/src/main/webapp/tc/gridLayout/tabGroup-auto-auto.xhtml Tue Mar 15 14:46:09 2011
@@ -30,7 +30,7 @@
<tc:tabGroup id="tabGroup">
<tc:tab label="Rows" id="rows">
<f:facet name="layout">
- <tc:gridLayout rows="*;*"/>
+ <tc:gridLayout rows="auto;auto"/>
</f:facet>
<tc:textarea id="a-1">
<tc:gridLayoutConstraint width="100px" height="50px"/>
@@ -41,7 +41,7 @@
</tc:tab>
<tc:tab label="Columns" id="columns">
<f:facet name="layout">
- <tc:gridLayout columns="*;*"/>
+ <tc:gridLayout columns="auto;auto"/>
</f:facet>
<tc:textarea id="a-3">
<tc:gridLayoutConstraint width="100px" height="50px"/>