On 16.01.2005 00:38, Lincoln Mitchell wrote:

Almost there now get error:

---
Tried to set value of output widget "data.dateTime" with an object of an
incorrect type: expected class java.util.Date, received class
java.lang.String.

Sounds good :-)

...but datatype base="date":

<fd:output id="dateTime" required="true">
  <fd:label>DateTime:</fd:label>
  <fd:datatype base="date"/>
</fd:output>

Any clues?

Yes, you need a convertor in your binding file. See http://cocoon.apache.org/2.1/userdocs/forms/binding.html#fb%3Avalue for more information. Your use case it's exactly described.


Joerg

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



Reply via email to