Hi there, I try to set fd:initial-value, for a fd:field..
<fd:field id="startTime" required="true"> <fd:label>Start (HH.mm):</fd:label> <!--<fd:initial-value>17:12</fd:initial-value>--> <fd:datatype base="date"> <fd:convertor> <fd:patterns> <fd:pattern>HH.mm</fd:pattern> </fd:patterns> </fd:convertor> </fd:datatype> <fd:validation> <fd:range min="Date(1850, 1, 1)" max="Date(2150, 1, 1)"> <fd:failmessage>Out of range.</fd:failmessage> </fd:range> </fd:validation> </fd:field> But this gives this error in cocoon: java.lang.NullPointerException I have searched the internet and the documentation.. but I have found nothing.. This fails: <fd:initial-value>17:12</fd:initial-value> This also fails: <!--somewhere in xsp:logic Date varDate = new Date();--> <fd:initial-value>varDate</fd:initial-value> Can someone help me? what should i do? Thank you for your ti;e.. greetings!! -- View this message in context: http://www.nabble.com/java.util.Date-fd%3Ainitial-value-tf2290750.html#a6362100 Sent from the Cocoon - Users mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]