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 2007/05/03 16:53:18 UTC

svn commit: r534896 - /myfaces/tobago/trunk/example/sandbox/src/main/webapp/separator.jsp

Author: lofwyr
Date: Thu May  3 07:53:17 2007
New Revision: 534896

URL: http://svn.apache.org/viewvc?view=rev&rev=534896
Log:
more advanced layout for separator sample.
is shows problems with the length of the label.

Modified:
    myfaces/tobago/trunk/example/sandbox/src/main/webapp/separator.jsp

Modified: myfaces/tobago/trunk/example/sandbox/src/main/webapp/separator.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/sandbox/src/main/webapp/separator.jsp?view=diff&rev=534896&r1=534895&r2=534896
==============================================================================
--- myfaces/tobago/trunk/example/sandbox/src/main/webapp/separator.jsp (original)
+++ myfaces/tobago/trunk/example/sandbox/src/main/webapp/separator.jsp Thu May  3 07:53:17 2007
@@ -31,20 +31,42 @@
     <f:facet name="layout">
       <tc:gridLayout margin="10px" rows="*"/>
     </f:facet>
+
     <tc:box label="Separator">
       <f:facet name="layout">
-        <tc:gridLayout columns="1*;1*" rows="fixed;fixed;*"/>
+        <tc:gridLayout columns="1*;1*" rows="fixed;*"/>
       </f:facet>
-      <tc:cell/>
-      <tc:cell/>
-      <tcs:separator />
-      <tcs:separator>
-        <f:facet name="label">
-          <tc:label value="Test" />
+
+      <tc:cell spanX="2">
+        <tcs:separator>
+          <f:facet name="label">
+            <tc:label value="Separator with Label"/>
+          </f:facet>
+        </tcs:separator>
+      </tc:cell>
+
+      <tc:panel>
+        <f:facet name="layout">
+          <tc:gridLayout rows="*;fixed;2*"/>
         </f:facet>
-      </tcs:separator>
-      <tc:cell/>
-      <tc:cell/>
+        <tc:textarea/>
+        <tcs:separator/>
+        <tc:textarea/>
+      </tc:panel>
+
+      <tc:panel>
+        <f:facet name="layout">
+          <tc:gridLayout rows="2*;fixed;*"/>
+        </f:facet>
+        <tc:textarea/>
+        <tcs:separator>
+          <f:facet name="label">
+            <tc:label value="Separator with Label"/>
+          </f:facet>
+        </tcs:separator>
+        <tc:textarea/>
+      </tc:panel>
+
     </tc:box>
   </tc:page>
 </f:view>