If the input of the date form field is for example "31.02.2004" after
submission this value is automatically set to "02.03.2004".

How can I change this behavior? Is there a attribute I can set in the woody
binding or definition file to get the behavior like using the
"setLenient(false)" method in java?

Thanks for your help!

Markus


woody defintion:

<wd:field id="vn_geburtsdatum" required="true">
        <wd:label>Geburtsdatum</wd:label>
        <wd:datatype base="date">
                <wd:convertor>
                        <wd:patterns>
                                <wd:pattern>dd.MM.yyyy</wd:pattern>
                        </wd:patterns>
                </wd:convertor>
        </wd:datatype>
</wd:field>


woody binding:

<wb:value id="vn_geburtsdatum" path="v:Geburtsdatum">
        <wd:convertor datatype="date" type="formatting">
                <wd:patterns>
                        <wd:pattern>yyyy-MM-dd</wd:pattern>
                </wd:patterns>
        </wd:convertor>
</wb:value>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to