Vai al contenuto principale

BIN OoY9W Documentation

  • Author:

  • Version: 5

  • Description: A file upload with file info form - submit the form with a file and check that the fields have been filed - Note that the maximum limit for this site is 16KB, when the limit is exceeded there is a redirect to the error413.do page

  • Created: 2014-10-05

  • Modified: 2015-03-28

  • Source:

     Modifica Bin W3C Schema Json-Schema Java Bean Code Default Value as XML

    Printers Embed Responsive

    <complexType name='FileHolder' description='A file upload with file info form - submit the form with a file and check that the fields have been filed -  Note that the maximum limit for this site is 16KB, when the limit is exceeded there is a redirect to the error413.do page' extra:form.cont.mime='multipart/form-data' extra:form.cont.httpmethod='post' >
        <field name='File' type='FileSimpleType' minOccurs='0'></field>
        <field name='FileName' type='xs:string' extra:form.hidden='true' node='attribute'
    		extra:form.control='fileName' extra:filename.filefield='File' />
        <field name='FileContentType' type='xs:string' node='attribute'
    		extra:form.hidden='true' extra:form.control='fileContentType'
    		extra:filename.filefield='File' />
    </complexType>
    <simpleType name='FileSimpleType' type='xs:base64Binary' 
    	extra:bean.applynull='false' 
    	extra:hibernate.sql-type='longblob' 
    	extra:ctrl.emptyisnull='true' 
    	extra:form.maybenull='true' 
    	extra:form.control='file'>
        <facet name='minLength' value='1'></facet>
    </simpleType>