myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lof...@apache.org
Subject svn commit: r1725900 - /myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/40-upload/upload.xhtml
Date Thu, 21 Jan 2016 10:43:02 GMT
Author: lofwyr
Date: Thu Jan 21 10:43:01 2016
New Revision: 1725900

URL: http://svn.apache.org/viewvc?rev=1725900&view=rev
Log:
upload with validation

Modified:
    myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/40-upload/upload.xhtml

Modified: myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/40-upload/upload.xhtml
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/40-upload/upload.xhtml?rev=1725900&r1=1725899&r2=1725900&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/40-upload/upload.xhtml
(original)
+++ myfaces/tobago/trunk/tobago-example/tobago-example-demo/src/main/webapp/content/40-upload/upload.xhtml
Thu Jan 21 10:43:01 2016
@@ -35,18 +35,12 @@
 
       <tx:file label="Upload file:" value="#{upload.file}" tip="without extra validation"/>
       <tc:button label="Submit" defaultCommand="true" action="#{upload.upload}"/>
-    </tc:panel>
-
-    <tc:panel>
-      <f:facet name="layout">
-        <tc:gridLayout columns="*;auto"/>
-      </f:facet>
 
       <tx:file label="Upload image:" value="#{upload.file}"
                tip="with a validator for file items - types: gif, jpg, png">
         <tc:validateFileItem contentType="image/*"/>
       </tx:file>
-      <tc:button label="Submit" action="#{upload.upload}"/>
+      <tc:panel/>
     </tc:panel>
 
     <tc:sheet var="entry" value="#{upload.list}" columns="*;*;*">



Mime
View raw message