I have the following in my form definition file:

        <fd:field id="start-time">
          <fd:label>Start time</fd:label>
          <fd:datatype base="date">
            <fd:convertor datatype="date" variant="time" type="formatting">
              <fd:patterns>
                <fd:pattern>kk:mm</fd:pattern>
              </fd:patterns>
            </fd:convertor>
          </fd:datatype>
        </fd:field>

Validation works fine, but the validation error message reported to
the user (using the forms samples message calatalogue) is:

Not a valid date.

In the messages catalogue, there is a key datatype.date.

Since I also have date fields, changing this message cannot give me
satisfactory results.

Is it possible to have messages keyed to the variant level
(datatype.date.date and datatype.date.time perhaps)?
-- 
Colin Paul Adams
Preston Lancashire

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

Reply via email to