Skip to main content

BIN YEMVx Documentation

  • Author:

  • Version: 22

  • Description: Image Crop control, works only with scripts. Widget is from Yahoo Library.

  • Created: 2015-11-30

  • Modified: 2020-12-29

  • Source:

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

    Printers Embed Responsive

    <complexType name='Form' description='Image Crop control, works only with scripts. Widget is from Yahoo Library.'>
        <field name='ImageUrl' type='xs:string' extra:form.control='label'  fixed='https://efbin.org/pub/error.png'/>
        <field name='ImageCrop' type='CropCoordinates'  extra:form.control='ImageCrop'
                extra:crop.urlField='ImageUrl'
                extra:crop.ratio.buttons='true'
                extra:crop.ratio.value='1:Square'
                extra:crop.ratios='free 1x1 2x1 4x1 1x2 1x4 10x13 4x3 16x9'
                extra:form.nolabel='true'/>
       <field name='ImageCropString' type='xs:string' minOccurs='0'  extra:form.control='ImageCrop'
                extra:crop.urlValue='https://efbin.org/pub/error.png'
                extra:crop.ratio.buttons='true'
                extra:crop.ratio.value='1:Square'
                extra:crop.ratios='free 1x1 2x1 4x1 1x2 1x4 10x13 4x3 16x9'
                extra:form.nolabel='true'/>
    </complexType>
    <simpleType name='CropCoordinates' type='ListOfInt' >
    
        <!-- 20191229 does not work , thinks is for length in chars..
    201510 found removed, commented out 
    
    <facet name='length' value='4'/>
    
     -->
    </simpleType>
    <simpleType name='ListOfInt' type='xs:int' list='true'>
        
    </simpleType>