Re: How can I use the wicketdate-time stuff with DateTime on my model?
Yeah i saw that (the patch file and zips). Interesting stuff. I ended up getting the source from svn, and just replacing Date with DateTime. The datatype features a lot more than I'd expected. I'm normally the type of person who likes rollin their own components, but I just don't have the time right now. I already don't have enough time to do the app bit :) I would encourage everyone to use Joda for every project!! Patrick Angeles wrote: > > We use DateTime/LocalDate in our entities as well. It's easy enough to > roll your own form components. > > See the patch and zip file attached to this issue, you can probably just > put those classes in your own project and run with it. > > https://issues.apache.org/jira/browse/WICKET-466 > > The patch is meant to handle java.util.Date, and Joda DateTime and > LocalDate all at the same time. Now that Wicket FormComponents are generic > though, I think it's better to just have separate FormComponents and > Converters for each class. > -- View this message in context: http://www.nabble.com/How-can-I-use-the-wicketdate-time-stuff-with-DateTime-on-my-model--tp19872583p19913074.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How can I use the wicketdate-time stuff with DateTime on my model?
We use DateTime/LocalDate in our entities as well. It's easy enough to roll your own form components. See the patch and zip file attached to this issue, you can probably just put those classes in your own project and run with it. https://issues.apache.org/jira/browse/WICKET-466 The patch is meant to handle java.util.Date, and Joda DateTime and LocalDate all at the same time. Now that Wicket FormComponents are generic though, I think it's better to just have separate FormComponents and Converters for each class. Ned Collyer wrote: > > Its a requirement for me that my domain entities have DateTime. > > I'd like to use wicket-datetime (as described here) > http://www.nabble.com/my-domain-model-and-Joda-Time-td15660961.html#a15660961 > > I can see its internals are all DateTimey which is AWESOME!! > > What is the easiest / quickest way of getting this stuff to work with > DateTime in my domain model. > > I'm running 1.4m1. > > What I'm toying with is compiling the project and applying the patch from > http://issues.apache.org/jira/browse/WICKET-466 > > But I'd rather have a simpler way - eg, extend or reimplement a class. > -- View this message in context: http://www.nabble.com/How-can-I-use-the-wicketdate-time-stuff-with-DateTime-on-my-model--tp19872583p19911816.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How can I use the wicketdate-time stuff with DateTime on my model?
I was hoping to wait for the next milestone to see what the fallout of all the generics mods are. The change between m1, m2, and m3 were significant. Is it staying as it is in m3? (Ive checked the generics page on the wiki). Rgds Ned Martijn Dashorst wrote: > > First, please upgrade to 1.4-m3. This is the future direction of > Wicket, and has a lot of fixes and patches applied. You should not > base your application on 1.4-m1. > > Martijn > -- View this message in context: http://www.nabble.com/How-can-I-use-the-wicketdate-time-stuff-with-DateTime-on-my-model--tp19872583p19907839.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: How can I use the wicketdate-time stuff with DateTime on my model?
First, please upgrade to 1.4-m3. This is the future direction of Wicket, and has a lot of fixes and patches applied. You should not base your application on 1.4-m1. Martijn On Wed, Oct 8, 2008 at 7:30 AM, Ned Collyer <[EMAIL PROTECTED]> wrote: > > Its a requirement for me that my domain entities have DateTime. > > I'd like to use wicket-datetime (as described here) > http://www.nabble.com/my-domain-model-and-Joda-Time-td15660961.html#a15660961 > > I can see its internals are all DateTimey which is AWESOME!! > > What is the easiest / quickest way of getting this stuff to work with > DateTime in my domain model. > > I'm running 1.4m1. > > What I'm toying with is compiling the project and applying the patch from > http://issues.apache.org/jira/browse/WICKET-466 > > But I'd rather have a simpler way - eg, extend or reimplement a class. > -- > View this message in context: > http://www.nabble.com/How-can-I-use-the-wicketdate-time-stuff-with-DateTime-on-my-model--tp19872583p19872583.html > Sent from the Wicket - User mailing list archive at Nabble.com. > > > - > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Become a Wicket expert, learn from the best: http://wicketinaction.com Apache Wicket 1.3.4 is released Get it now: http://www.apache.org/dyn/closer.cgi/wicket/1.3. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
How can I use the wicketdate-time stuff with DateTime on my model?
Its a requirement for me that my domain entities have DateTime. I'd like to use wicket-datetime (as described here) http://www.nabble.com/my-domain-model-and-Joda-Time-td15660961.html#a15660961 I can see its internals are all DateTimey which is AWESOME!! What is the easiest / quickest way of getting this stuff to work with DateTime in my domain model. I'm running 1.4m1. What I'm toying with is compiling the project and applying the patch from http://issues.apache.org/jira/browse/WICKET-466 But I'd rather have a simpler way - eg, extend or reimplement a class. -- View this message in context: http://www.nabble.com/How-can-I-use-the-wicketdate-time-stuff-with-DateTime-on-my-model--tp19872583p19872583.html Sent from the Wicket - User mailing list archive at Nabble.com. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]