> Am 27.05.2017 um 10:01 schrieb Paul Hoadley <pa...@logicsquad.net>:
> 
>> On 27 May 2017, at 4:21 pm, Theodore Petrosky <tedp...@yahoo.com> wrote:
>> 
>> If I select JavaLocalDate as the prototype then when I bring in a edit page 
>> with this propertyKey it shows only as a String in a ERD2WDisplayString 
>> component. I tried to create a rule to use the ERDEditDatePopup component, 
>> but then there is an error; java.time.LocalDate cannot be cast to 
>> com.webobjects.foundation.NSTimestamp.
>> 
>> Am I missing something? There appear to be many advantages to use the Java 
>> Local Date instead of NSTimestamp but maybe it is just too new.
> 
> Everything in D2W and Wonder’s D2W extensions will pre-date Java 8, so you’re 
> basically on your own. Off the top of my head, I don’t know the solution. If 
> there is one it likely involves pointing something at the appropriate 
> formatter, though even then you might be out of luck because Java 8 date 
> formatters don’t extend java.text.Format.

You will have to use ERXDateTimeFormatter and its subclasses for that.

jw 

> 
> 
> -- 
> Paul Hoadley
> http://logicsquad.net/
> https://www.linkedin.com/company/logic-squad/
> 
> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/webobjects-dev/johann.werner%40posteo.de
> 
> This email sent to johann.wer...@posteo.de

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to