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/11/01 11:24:19 UTC
svn commit: r1195914 - in
/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp:
./ WEB-INF/tags/layout/ reference/
Author: lofwyr
Date: Tue Nov 1 10:24:19 2011
New Revision: 1195914
URL: http://svn.apache.org/viewvc?rev=1195914&view=rev
Log:
TOBAGO-606: LayoutManager
- using "auto" instead of "fixed"
Modified:
myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.tag
myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/footer.jsp
myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/header.jsp
myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/command.jsp
myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/input.jsp
myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/inputSuggest.jsp
myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/menu.jsp
myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/output.jsp
myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/popupSheet.jsp
myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/separator.jsp
myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/sheet.jsp
myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/tab.jsp
myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/time.jsp
myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/tool.jsp
Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.tag
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.tag?rev=1195914&r1=1195913&r2=1195914&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.tag (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/WEB-INF/tags/layout/overview.tag Tue Nov 1 10:24:19 2011
@@ -62,7 +62,7 @@
</f:facet>
<f:facet name="layout">
- <tc:gridLayout border="0" columns="*;4*" margin="10px" rows="100px;fixed;*;fixed"/>
+ <tc:gridLayout border="0" columns="*;4*" margin="10px" rows="100px;auto;*;auto"/>
</f:facet>
<tc:cell spanX="2">
Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/footer.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/footer.jsp?rev=1195914&r1=1195913&r2=1195914&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/footer.jsp (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/footer.jsp Tue Nov 1 10:24:19 2011
@@ -22,7 +22,7 @@
<tc:panel>
<f:facet name="layout">
- <tc:gridLayout columns="fixed;fixed;fixed;fixed;fixed;*" rows="15px;fixed"/>
+ <tc:gridLayout columns="auto;auto;auto;auto;auto;*" rows="15px;auto"/>
</f:facet>
<tc:cell spanX="6">
Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/header.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/header.jsp?rev=1195914&r1=1195913&r2=1195914&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/header.jsp (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/header.jsp Tue Nov 1 10:24:19 2011
@@ -29,7 +29,7 @@
<tc:panel>
<f:facet name="layout">
- <tc:gridLayout rows="fixed;fixed;fixed;*"/>
+ <tc:gridLayout rows="auto;auto;auto;*"/>
</f:facet>
<tc:out value="Theme: #{clientConfigController.localizedTheme}"/>
<tc:out value="Locale: #{clientConfigController.localizedLocale}"/>
Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/command.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/command.jsp?rev=1195914&r1=1195913&r2=1195914&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/command.jsp (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/command.jsp Tue Nov 1 10:24:19 2011
@@ -23,7 +23,7 @@
<jsp:body>
<tc:box label="Command Controls">
<f:facet name="layout">
- <tc:gridLayout columns="100px;100px;100px;100px;100px;*" rows="fixed;fixed;fixed;fixed;fixed;fixed;fixed;fixed;fixed;fixed;fixed;*"/>
+ <tc:gridLayout columns="100px;100px;100px;100px;100px;*" rows="auto;auto;auto;auto;auto;auto;auto;auto;auto;auto;auto;*"/>
</f:facet>
<%-- standard --%>
@@ -139,7 +139,7 @@
<tc:cell spanX="6">
<tc:panel>
<f:facet name="layout">
- <tc:gridLayout rows="fixed" columns="fixed;fixed;fixed;*"/>
+ <tc:gridLayout rows="auto" columns="auto;auto;auto;*"/>
</f:facet>
<tc:button label="Hello" />
@@ -152,7 +152,7 @@
<tc:cell spanX="6">
<tc:panel>
<f:facet name="layout">
- <tc:gridLayout rows="fixed" columns="fixed;*"/>
+ <tc:gridLayout rows="auto" columns="auto;*"/>
</f:facet>
<tc:button label="The goal of Tobago is to provide the community with a well designed set of user interface components." />
Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/input.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/input.jsp?rev=1195914&r1=1195913&r2=1195914&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/input.jsp (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/input.jsp Tue Nov 1 10:24:19 2011
@@ -23,7 +23,7 @@
<jsp:body>
<tc:box label="Input">
<f:facet name="layout">
- <tc:gridLayout rows="fixed;fixed;fixed;fixed;fixed;fixed;fixed;2*;3*;2*;2*;2*;2*;2*"/>
+ <tc:gridLayout rows="auto;auto;auto;auto;auto;auto;auto;2*;3*;2*;2*;2*;2*;2*"/>
</f:facet>
<tc:in value="Some Text without Label"/>
@@ -74,4 +74,4 @@
</tc:box>
</jsp:body>
-</layout:overview>
\ No newline at end of file
+</layout:overview>
Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/inputSuggest.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/inputSuggest.jsp?rev=1195914&r1=1195913&r2=1195914&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/inputSuggest.jsp (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/inputSuggest.jsp Tue Nov 1 10:24:19 2011
@@ -23,7 +23,7 @@
<jsp:body>
<tc:box label="InputSuggest">
<f:facet name="layout">
- <tc:gridLayout rows="fixed;50px;fixed;fixed;50px;150px;fixed;1*"/>
+ <tc:gridLayout rows="auto;50px;auto;auto;50px;150px;auto;1*"/>
</f:facet>
<tc:separator label="Simple"/>
@@ -50,7 +50,7 @@
<tc:panel >
<f:facet name="layout">
- <tc:gridLayout rows="fixed;fixed;1*" columns="350px;1*"/>
+ <tc:gridLayout rows="auto;auto;1*" columns="350px;1*"/>
</f:facet>
<tc:panel>
@@ -86,4 +86,4 @@
</tc:box>
</jsp:body>
-</layout:overview>
\ No newline at end of file
+</layout:overview>
Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/menu.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/menu.jsp?rev=1195914&r1=1195913&r2=1195914&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/menu.jsp (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/menu.jsp Tue Nov 1 10:24:19 2011
@@ -23,7 +23,7 @@
<jsp:body>
<tc:box label="Menu">
<f:facet name="layout">
- <tc:gridLayout rows="fixed;*"/>
+ <tc:gridLayout rows="auto;*"/>
</f:facet>
<%-- code-sniplet-start id="menuBar" --%>
<f:facet name="menuBar">
Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/output.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/output.jsp?rev=1195914&r1=1195913&r2=1195914&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/output.jsp (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/output.jsp Tue Nov 1 10:24:19 2011
@@ -34,7 +34,7 @@
<jsp:body>
<tc:box label="Output Controls">
<f:facet name="layout">
- <tc:gridLayout columns="150px;*" rows="fixed;300px;fixed;fixed;90px;*" border="1"/>
+ <tc:gridLayout columns="150px;*" rows="auto;300px;auto;auto;90px;*" border="1"/>
</f:facet>
<%-- code-sniplet-start id="label" --%>
@@ -69,4 +69,4 @@
</tc:box>
</jsp:body>
-</layout:overview>
\ No newline at end of file
+</layout:overview>
Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/popupSheet.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/popupSheet.jsp?rev=1195914&r1=1195913&r2=1195914&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/popupSheet.jsp (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/popupSheet.jsp Tue Nov 1 10:24:19 2011
@@ -34,13 +34,13 @@
<%-- the clientId of this popup is "page:sheet:popup1" --%>
<tc:box label="Popup1">
<f:facet name="layout" >
- <tc:gridLayout rows="fixed;1*;fixed"/>
+ <tc:gridLayout rows="auto;1*;auto"/>
</f:facet>
<tx:in label="column 1 value:" value="#{popupReference.entry.column1}"/>
<tc:panel/>
<tc:panel>
<f:facet name="layout">
- <tc:gridLayout columns="1*;fixed;fixed"/>
+ <tc:gridLayout columns="1*;auto;auto"/>
</f:facet>
<tc:panel/>
<tc:button label="Save" actionListener="#{popupReference.saveChanges}" >
@@ -59,7 +59,7 @@
<%-- the clientId of this popup is "page:sheet:popup2" --%>
<tc:box label="Popup1">
<f:facet name="layout" >
- <tc:gridLayout rows="fixed;fixed;fixed;1*;fixed"/>
+ <tc:gridLayout rows="auto;auto;auto;1*;auto"/>
</f:facet>
<tx:in label="column 1 value:" value="#{popupReference.entry.column1}"/>
<tx:in label="column 2 value:" value="#{popupReference.entry.column2}"/>
@@ -67,7 +67,7 @@
<tc:panel/>
<tc:panel>
<f:facet name="layout">
- <tc:gridLayout columns="1*;fixed;fixed"/>
+ <tc:gridLayout columns="1*;auto;auto"/>
</f:facet>
<tc:panel/>
<tc:button label="Save" actionListener="#{popupReference.saveChanges}" >
@@ -111,4 +111,4 @@
</tc:box>
</jsp:body>
-</layout:overview>
\ No newline at end of file
+</layout:overview>
Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/separator.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/separator.jsp?rev=1195914&r1=1195913&r2=1195914&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/separator.jsp (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/separator.jsp Tue Nov 1 10:24:19 2011
@@ -28,7 +28,7 @@
<tc:box label="Separator">
<f:facet name="layout">
- <tc:gridLayout columns="1*;1*" rows="fixed;*"/>
+ <tc:gridLayout columns="1*;1*" rows="auto;*"/>
</f:facet>
<tc:cell spanX="2">
@@ -41,7 +41,7 @@
<tc:panel>
<f:facet name="layout">
- <tc:gridLayout rows="*;fixed;2*"/>
+ <tc:gridLayout rows="*;auto;2*"/>
</f:facet>
<tc:textarea/>
<tc:separator/>
@@ -50,7 +50,7 @@
<tc:panel>
<f:facet name="layout">
- <tc:gridLayout rows="2*;fixed;*"/>
+ <tc:gridLayout rows="2*;auto;*"/>
</f:facet>
<tc:textarea/>
<tc:separator>
@@ -63,4 +63,4 @@
</tc:box>
</tc:page>
-</f:view>
\ No newline at end of file
+</f:view>
Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/sheet.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/sheet.jsp?rev=1195914&r1=1195913&r2=1195914&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/sheet.jsp (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/sheet.jsp Tue Nov 1 10:24:19 2011
@@ -22,12 +22,12 @@
<jsp:body>
<tc:box label="Sheet">
<f:facet name="layout">
- <tc:gridLayout rows="fixed;*;fixed;fixed;fixed"/>
+ <tc:gridLayout rows="auto;*;auto;auto;auto"/>
</f:facet>
<tc:messages/>
- <tc:sheet value="#{simpleList}" columns="fixed;*" var="bean" rows="5">
+ <tc:sheet value="#{simpleList}" columns="auto;*" var="bean" rows="5">
<tc:columnSelector/>
<tc:column label="Number">
<tc:in value="#{bean.value}" required="true"/>
@@ -36,7 +36,7 @@
<tc:separator>
<f:facet name="label">
- <tc:label value="Layout: Sheet with 'fixed' height"/>
+ <tc:label value="Layout: Sheet with 'auto' height"/>
</f:facet>
</tc:separator>
@@ -56,7 +56,7 @@
<tc:panel>
<f:facet name="layout">
- <tc:gridLayout columns="*;fixed"/>
+ <tc:gridLayout columns="*;auto"/>
</f:facet>
<tc:cell/>
<tc:button action="submit" label="Submit"/>
Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/tab.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/tab.jsp?rev=1195914&r1=1195913&r2=1195914&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/tab.jsp (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/tab.jsp Tue Nov 1 10:24:19 2011
@@ -29,7 +29,7 @@
<tc:tab label="Tab 1">
<tc:panel>
<f:facet name="layout">
- <tc:gridLayout rows="1*;fixed;fixed;1*"/>
+ <tc:gridLayout rows="1*;auto;auto;1*"/>
</f:facet>
<tc:cell/>
<tx:in label="label 1" required="true"/>
@@ -40,7 +40,7 @@
<tc:tab label="Tab 2" rendered="true">
<tc:panel>
<f:facet name="layout">
- <tc:gridLayout rows="1*;fixed;fixed;1*"/>
+ <tc:gridLayout rows="1*;auto;auto;1*"/>
</f:facet>
<tc:cell/>
<tx:in label="label 3"/>
@@ -51,7 +51,7 @@
<tc:tab label="Tab 3">
<tc:panel>
<f:facet name="layout">
- <tc:gridLayout rows="1*;fixed;fixed;1*"/>
+ <tc:gridLayout rows="1*;auto;auto;1*"/>
</f:facet>
<tc:cell/>
<tx:in label="label 5"/>
@@ -62,7 +62,7 @@
<tc:tab label="Tab 4 - JavaServerFaces 2.0 is in the JSR review ballot phase. This JSR will bring the best ideas in web application development (circa early 2007) to the Java EE platform.">
<tc:panel>
<f:facet name="layout">
- <tc:gridLayout rows="1*;fixed;fixed;1*"/>
+ <tc:gridLayout rows="1*;auto;auto;1*"/>
</f:facet>
<tc:cell/>
<tx:in label="label 7"/>
@@ -74,4 +74,4 @@
</tc:tabGroup>
</tc:box>
</jsp:body>
-</layout:overview>
\ No newline at end of file
+</layout:overview>
Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/time.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/time.jsp?rev=1195914&r1=1195913&r2=1195914&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/time.jsp (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/time.jsp Tue Nov 1 10:24:19 2011
@@ -28,7 +28,7 @@
<jsp:body>
<tc:box label="Time Specific Controls">
<f:facet name="layout">
- <tc:gridLayout columns="400px;*" rows="fixed;fixed;fixed;fixed;fixed;fixed;fixed;fixed;fixed;fixed;fixed;250px;*"/>
+ <tc:gridLayout columns="400px;*" rows="auto;auto;auto;auto;auto;auto;auto;auto;auto;auto;auto;250px;*"/>
</f:facet>
<%-- code-sniplet-start id="date" --%>
<tx:date label="Date" value="#{now}">
Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/tool.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/tool.jsp?rev=1195914&r1=1195913&r2=1195914&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/tool.jsp (original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/reference/tool.jsp Tue Nov 1 10:24:19 2011
@@ -23,7 +23,7 @@
<jsp:body>
<tc:box label="Tool Bar">
<f:facet name="layout">
- <tc:gridLayout rows="fixed;*"/>
+ <tc:gridLayout rows="auto;*"/>
</f:facet>
<tc:toolBar id="toolbar0" iconSize="big">