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 protected]> 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 protected])
>> Help/Unsubscribe/Update your Subscription:
>> http://lists.apple.com/mailman/options/webobjects-dev/webobjects%40avendasora.com
>> 
>> This email sent to [email protected]
>> 
>> 
> 
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Webobjects-dev mailing list      ([email protected])
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/webobjects-dev/hprange%40gmail.com
> 
> This email sent to [email protected]
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to