myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bom...@apache.org
Subject svn commit: r499158 - /myfaces/tobago/trunk/example/test/src/main/webapp/fileUpload.jsp
Date Tue, 23 Jan 2007 22:23:00 GMT
Author: bommel
Date: Tue Jan 23 14:22:59 2007
New Revision: 499158

URL: http://svn.apache.org/viewvc?view=rev&rev=499158
Log:
cleanup

Modified:
    myfaces/tobago/trunk/example/test/src/main/webapp/fileUpload.jsp

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=499158&r1=499157&r2=499158
==============================================================================
--- myfaces/tobago/trunk/example/test/src/main/webapp/fileUpload.jsp (original)
+++ myfaces/tobago/trunk/example/test/src/main/webapp/fileUpload.jsp Tue Jan 23 14:22:59 2007
@@ -19,15 +19,27 @@
 <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
 <%@ page contentType="text/html;charset=UTF-8" language="java" %>
 <f:view>
-  <tc:page>
+  <tc:page width="400" height="300">
     <f:facet name="layout">
       <tc:gridLayout/>
     </f:facet>
-    <tc:out value="Hello World"/>
-    <tx:file label="test" value="#{test.file}" >
-      <tc:validateFileItem contentType="text/*" maxSize="299"/>
-    </tx:file>
-    <tc:messages/>
-    <tc:button label="Submit" defaultCommand="true" />
+    <tc:box label="File upload">
+      <f:facet name="layout">
+        <tc:gridLayout />
+      </f:facet>
+      <tc:out value="Hello World"/>
+      <tx:file label="File" value="#{test.file}" >
+        <tc:validateFileItem contentType="text/*" maxSize="299" />
+      </tx: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:box>
   </tc:page>
 </f:view>



Mime
View raw message