• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Wonder update #231
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wonder update #231


  • Subject: Re: Wonder update #231
  • From: Henrique Prange <email@hidden>
  • Date: Sun, 27 Feb 2011 15:10:57 -0300

JodaTime formatters do not extend java.text.Format. You have to format/parse the String in a getter/setter method.

Or create your own Formatter that delegate to one of JodaTime formatters.

Sent from my iPhone

On 27/02/2011, at 10:40, David Avendasora <email@hidden> wrote:

> Hi Ted,
>
> I believe the "formatter" binding is what you are looking for. You can bind an instance of anything that extends java.text.Format, which the Joda formatters do.
>
> Note that this is different than the "format" binding, which just takes a string.
>
> Dave
>
> On Feb 27, 2011, at 6:10 AM, Theodore Petrosky wrote:
>
>> I see that there is a Wonder update (#231) on Hudson.
>>
>> WONDER-665: Joda DateTime prototype should be timestamp instead of timestamptz for postgres
>> http://issues.objectstyle.org/jira/browse/WONDER-665
>> Reverted prototype to timestamp instead of timestamptz (detail)
>>
>> I did the svn up and I see:
>>
>>
>> Frameworks/Core/ERPrototypes/Resources/erprototypes.eomodeld/EOJDBCPostgresqlPrototypes.plist
>> A    Frameworks/Core/ERExtensions/Sources/er/extensions/formatters/ERXJodaLocalDateTimeFormatter.java
>> A    Frameworks/Core/ERExtensions/Sources/er/extensions/formatters/ERXJodaLocalDateFormatter.java
>> A    Frameworks/Core/ERExtensions/Sources/er/extensions/formatters/ERXJodaLocalTimeFormatter.java
>> A    Frameworks/Core/ERExtensions/Sources/er/extensions/formatters/ERXJodaDateTimeFormatter.java
>> U    Frameworks/Core/ERExtensions/Sources/er/extensions/migration/ERXMigrationTable.java
>>
>> ERXJodaLocalDateFormatter.java is interesting.
>>
>> Is there a way to use this formatter in an AjaxDatePicker? If I read the source correctly, the ADP is expecting and using NSTimestampFormatter (which of course does not play well with JodaTime).
>>
>> Is there a way to use this formatter in an ADP?
>>
>> Ted
>>
>>
>>
>>
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      (email@hidden)
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>>
>>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Wonder update #231 (From: Theodore Petrosky <email@hidden>)
 >Re: Wonder update #231 (From: David Avendasora <email@hidden>)

  • Prev by Date: Re: Where's the "Add Entry" button for the userInfo dictionary ?
  • Next by Date: Re: Wonder update #231
  • Previous by thread: Re: Wonder update #231
  • Next by thread: Re: Wonder update #231
  • Index(es):
    • Date
    • Thread