Re: joda dates in D2W
Re: joda dates in D2W
- Subject: Re: joda dates in D2W
- From: Ramsey Gurley <email@hidden>
- Date: Wed, 20 Mar 2013 13:14:12 -0700
You need a property level component that can handle joda stuff. I have one in r2 you are welcome to copy.
https://github.com/nullterminated/ponder/tree/master/ERR2d2w/Components/Nonlocalized.lproj/R2D2WQueryDateRange.wo
https://github.com/nullterminated/ponder/blob/master/ERR2d2w/Sources/er/r2d2w/components/R2D2WQueryDateRange.java
It's basically just text fields and formatters. Nothing to it really.
Ramsey
On Mar 20, 2013, at 9:48 AM, Theodore Petrosky wrote:
> I hope I am not too hosed.
>
> I have a framework that I am using in a Wonder Application. I am creating a D2W app to access it for another purpose. I need to create a query page that will query a date range and the data was modeled using joda dates (org.joda.time.LocalDate).
>
> Is there a query page at can use the joda dates out of the box? If I add the property to the list of displayed keys, i get "- cannot be used in a query -" for the key.
>
> 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