Vai al contenuto principale

BIN LwgQf Documentation

  • Author:

  • Version: 25

  • Description: whiteSpace=collapse facet with textarea - value is trimmed and contiguous whitespaces are collapsed, all whitespaces become spaces. Good for names, titles etc..

  • Created: 2014-10-06

  • Modified: 2015-12-09

  • Source:

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

    Printers Embed Responsive

    <complexType name='Form' description='whiteSpace=collapse facet with textarea - value is trimmed and contiguous whitespaces are collapsed, all whitespaces become spaces. Good for names, titles etc..'>
        <field name='Collapse' minOccurs='1' type='xs:string' extra:form.explanation='Required string field with ctrl.emptyisnull=true and whiteSpace=collapse facet, whitespace is collapsed, whitespace only values are converted to the {absent} (null) value because of emptyisnull=false. ' extra:form.control='textarea' extra:ctrl.emptyisnull='true'>
        <facet name='whiteSpace' value='collapse'/>
    </field>
       <field name='CollapseEmptyIsNullFalse' minOccurs='1' type='xs:string'  extra:form.explanation='Required string field with ctrl.emptyisnull=false and whiteSpace=collapse facet, whitespace is collapsed, whitespace only values are converted to the empty string because of whitespace facet and  emptyisnull=false. Also form.empty=true is used to disable HTML5 @required as it would not let submit an empty string.' extra:form.empty='true' extra:form.control='textarea' extra:ctrl.emptyisnull='false'>
        <facet name='whiteSpace' value='collapse'/>
    </field>
    </complexType>