You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by bo...@apache.org on 2007/02/21 21:46:24 UTC

svn commit: r510194 - in /myfaces/tobago/trunk: example/facelets/src/main/webapp/helloWorld.xml example/test/src/main/webapp/fileUpload.jsp tobago-tool/gendoc/src/main/webapp/screenshot/toolBar.jsp

Author: bommel
Date: Wed Feb 21 12:46:23 2007
New Revision: 510194

URL: http://svn.apache.org/viewvc?view=rev&rev=510194
Log:
some cleanups

Modified:
    myfaces/tobago/trunk/example/facelets/src/main/webapp/helloWorld.xml
    myfaces/tobago/trunk/example/test/src/main/webapp/fileUpload.jsp
    myfaces/tobago/trunk/tobago-tool/gendoc/src/main/webapp/screenshot/toolBar.jsp

Modified: myfaces/tobago/trunk/example/facelets/src/main/webapp/helloWorld.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/facelets/src/main/webapp/helloWorld.xml?view=diff&rev=510194&r1=510193&r2=510194
==============================================================================
--- myfaces/tobago/trunk/example/facelets/src/main/webapp/helloWorld.xml (original)
+++ myfaces/tobago/trunk/example/facelets/src/main/webapp/helloWorld.xml Wed Feb 21 12:46:23 2007
@@ -21,7 +21,7 @@
         xmlns:ui="http://java.sun.com/jsf/facelets"
         xmlns:tc="http://myfaces.apache.org/tobago/component"
         xmlns:tx="http://myfaces.apache.org/tobago/facelet-extension">
-  <tc:page label="Tobago Hello World Faclets">
+  <tc:page height="200" width="300" label="Tobago Hello World Faclets">
     <f:facet name="layout">
       <tc:gridLayout/>
     </f:facet>

Modified: myfaces/tobago/trunk/example/test/src/main/webapp/fileUpload.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/example/test/src/main/webapp/fileUpload.jsp?view=diff&rev=510194&r1=510193&r2=510194
==============================================================================
--- myfaces/tobago/trunk/example/test/src/main/webapp/fileUpload.jsp (original)
+++ myfaces/tobago/trunk/example/test/src/main/webapp/fileUpload.jsp Wed Feb 21 12:46:23 2007
@@ -19,27 +19,31 @@
 <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
 <%@ page contentType="text/html;charset=UTF-8" language="java" %>
 <f:view>
-  <tc:page width="400" height="300">
+  <tc:page width="600" height="300">
     <f:facet name="layout">
       <tc:gridLayout/>
     </f:facet>
     <tc:box label="File upload">
       <f:facet name="layout">
-        <tc:gridLayout />
+        <tc:gridLayout columns="150px;440px"/>
       </f:facet>
       <tc:out value="Hello World"/>
-      <tx:file label="File" value="#{test.file}" >
-        <tc:validateFileItem contentType="text/*" maxSize="299" />
-      </tx:file>
+      <tc:file value="#{test.file}" required="true" >
+        <tc:validateFileItem contentType="text/*" />
+        <tc:validateFileItem maxSize="299" />
+      </tc:file>
       <tc:messages/>
-      <tc:panel>
-        <f:facet name="layout">
-          <tc:gridLayout columns="*;fixed;*"/>
-        </f:facet>
-        <tc:cell />
-        <tc:button label="Submit" defaultCommand="true" />
-        <tc:cell />
-      </tc:panel>
+      <tc:cell/>
+      <tc:cell spanX="2">
+        <tc:panel>
+          <f:facet name="layout">
+            <tc:gridLayout columns="*;fixed;*"/>
+          </f:facet>
+          <tc:cell />
+          <tc:button label="Submit" defaultCommand="true" />
+          <tc:cell />
+        </tc:panel>
+      </tc:cell>
     </tc:box>
   </tc:page>
 </f:view>

Modified: myfaces/tobago/trunk/tobago-tool/gendoc/src/main/webapp/screenshot/toolBar.jsp
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-tool/gendoc/src/main/webapp/screenshot/toolBar.jsp?view=diff&rev=510194&r1=510193&r2=510194
==============================================================================
--- myfaces/tobago/trunk/tobago-tool/gendoc/src/main/webapp/screenshot/toolBar.jsp (original)
+++ myfaces/tobago/trunk/tobago-tool/gendoc/src/main/webapp/screenshot/toolBar.jsp Wed Feb 21 12:46:23 2007
@@ -24,7 +24,7 @@
     <jsp:body>
       <tc:panel>
         <f:facet name="layout">
-          <tc:gridLayout rows="60px;1*" columns="260px;1*"/>
+          <tc:gridLayout rows="160px;1*" columns="260px;1*"/>
         </f:facet>
 
             <tc:toolBar id="toolbar0" iconSize="big">