[Hippo-cms7-user] date-field: default value empty

Rita Bijlsma r.bijlsma at onehippo.com
Mon Aug 24 16:13:49 CEST 2009


On Mon, Aug 24, 2009 at 3:48 PM, Edwin Benneheij <ettepet at gmail.com> wrote:

> I have used these variants of the last suggested sv:value:
>
> 1970-01-01T0:00:00.000-01:00 --> 1-1-70 2:00
> 1970-01-01T0:00:00.000+00:00 --> 1-1-70 1:00
> 1970-01-01T0:00:00.000+01:00 --> 1-1-70 0:00
> 1970-01-01T0:00:00.000+02:00 --> 31-12-69 23:00
>
> Just like you would expect.....


So this works correctly? But you do not like this as a way to indicate a
non-serious date? If that is right I misunderstood you before.

Best regards,
                       Rita


>
>
> We are using:
> <hippoecm.version>2.06.06</hippoecm.version>
> <hst.version>2.03.09</hst.version>
>
> Best Regards,
> Edwin
>
>
>
>
>
> On Mon, Aug 24, 2009 at 11:17 AM, Rita Bijlsma <r.bijlsma at onehippo.com>wrote:
>
>>
>>
>> On Thu, Aug 20, 2009 at 2:58 PM, Edwin Benneheij <ettepet at gmail.com>wrote:
>>
>>> Is it possible to start a new document with not pre-filled date-fields,
>>> e.g. I would like to have some empty date-fields, not prefilled with the
>>> current date.
>>>
>>> This is the property from the prototype:
>>>             <sv:property sv:name="myproject:date" sv:type="Date">
>>>                 <sv:value>2009-08-17T4:12:00.000+00:00</sv:value>
>>>             </sv:property>
>>>
>>> Values I've tried:
>>>                 <sv:value></sv:value>
>>>                 <sv:value>0</sv:value>
>>>                  <sv:value>0000-00-00T0:00:00.000+00:00</sv:value>
>>>                 <sv:value>1970-01-01T0:00:00.000+00:00</sv:value>
>>>
>>> And also without this property.
>>>
>>
>> I have used your last solution succesfully. This was with an older version
>> though. What version are you using and what results do you get?
>>
>> Best regards,
>>                         Rita
>>
>>
>>>
>>> Best regards,
>>> Edwin
>>>
>>>
>>> _______________________________________________
>>> Hippo-cms7-user mailing list and forums
>>> http://www.onehippo.org/cms7/support/community.html
>>>
>>
>>
>> _______________________________________________
>> Hippo-cms7-user mailing list and forums
>> http://www.onehippo.org/cms7/support/community.html
>>
>
>
> _______________________________________________
> Hippo-cms7-user mailing list and forums
> http://www.onehippo.org/cms7/support/community.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.onehippo.org/pipermail/hippo-cms7-user/attachments/20090824/bf3da161/attachment.htm>


More information about the Hippo-cms7-user mailing list