Yet another z3c form calendar picker

6 messages Options
Embed this post
Permalink
Hedley Roos-2 () Yet another z3c form calendar picker
Reply Threaded More More options
Print post
Permalink
I'm at a point where I want a javascript calendar picker for my
z3c.form-heavy product but I can't find one.
collective.z3cform.datetimewidget unfortunately does not have a
javascript popup. I like the one at
http://docs.jquery.com/UI/Datepicker but I have to write a little
product to wrap it.

It seems that we're heading for a proliferation of calendar products
which differ in only one aspect: the UI. Should we perhaps create a
pluggable calendar framework which requires developers to implement a
single interface for any new javascript calendar popup?

Hedley

_______________________________________________
Product-Developers mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/product-developers
Nathan Van Gheem () Re: Yet another z3c form calendar picker
Reply Threaded More More options
Print post
Permalink
Why not just have one good date time widget available so everyone doesn't keep creating new ones.  IMO, it should support a date time picker pop up by default and gracefully work with javascript disabled also.  Then provide the proper amount of configuration options to make it usable by most.

Why not just collaborate with the author of collective.z3cform.datetimewidget to make it better?

-Nathan Van Gheem

On Sun, Oct 4, 2009 at 3:11 PM, Hedley Roos <[hidden email]> wrote:
I'm at a point where I want a javascript calendar picker for my
z3c.form-heavy product but I can't find one.
collective.z3cform.datetimewidget unfortunately does not have a
javascript popup. I like the one at
http://docs.jquery.com/UI/Datepicker but I have to write a little
product to wrap it.

It seems that we're heading for a proliferation of calendar products
which differ in only one aspect: the UI. Should we perhaps create a
pluggable calendar framework which requires developers to implement a
single interface for any new javascript calendar popup?

Hedley

_______________________________________________
Product-Developers mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/product-developers


_______________________________________________
Product-Developers mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/product-developers
Hedley Roos-2 () Re: Yet another z3c form calendar picker
Reply Threaded More More options
Print post
Permalink
On Sun, Oct 4, 2009 at 7:53 PM, Nathan Van Gheem <[hidden email]> wrote:
> Why not just have one good date time widget available so everyone doesn't
> keep creating new ones.  IMO, it should support a date time picker pop up by
> default and gracefully work with javascript disabled also.  Then provide the
> proper amount of configuration options to make it usable by most.
>
> Why not just collaborate with the author of
> collective.z3cform.datetimewidget to make it better?
>

I'm one step ahead of you :) I'm using Rok's product as a base and
experimenting with wiring in the jquery "official" date picker. I'll
have a chat with him if he is going to Budapest.

BTW I'm *not* creating a new date picker. There are some nice widgets
out there that just need to be wrapped for use with z3c.form.

Hedley

_______________________________________________
Product-Developers mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/product-developers
David Glick-2 () Re: Yet another z3c form calendar picker
Reply Threaded More More options
Print post
Permalink
Hedley Roos wrote:

> On Sun, Oct 4, 2009 at 7:53 PM, Nathan Van Gheem <[hidden email]> wrote:
>> Why not just have one good date time widget available so everyone doesn't
>> keep creating new ones.  IMO, it should support a date time picker pop up by
>> default and gracefully work with javascript disabled also.  Then provide the
>> proper amount of configuration options to make it usable by most.
>>
>> Why not just collaborate with the author of
>> collective.z3cform.datetimewidget to make it better?
>>
>
> I'm one step ahead of you :) I'm using Rok's product as a base and
> experimenting with wiring in the jquery "official" date picker. I'll
> have a chat with him if he is going to Budapest.
>
> BTW I'm *not* creating a new date picker. There are some nice widgets
> out there that just need to be wrapped for use with z3c.form.

+1 to this approach.  This is the direction Rok and I intended for
collective.z3cform.datetimewidget, but neither of us has found time to
work on it yet.  So I'm happy for the help. :)

It's important that the widget continue to work fine if Javascript is
not enabled.  And also it should remain possible to explicitly choose to
use a version of the widget without a popup date picker, when that is
desired.

peace,
David

_______________________________________________
Product-Developers mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/product-developers
J-C Brand () Re: Yet another z3c form calendar picker
Reply Threaded More More options
Print post
Permalink
In reply to this post by Hedley Roos-2
Hedley Roos wrote:
> I'm at a point where I want a javascript calendar picker for my
> z3c.form-heavy product but I can't find one.
> collective.z3cform.datetimewidget unfortunately does not have a
> javascript popup.

Try collective.z3cform.datepicker. It has a spiffy js calendar for you :)



_______________________________________________
Product-Developers mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/product-developers
Espen Moe-Nilssen () Re: Yet another z3c form calendar picker
Reply Threaded More More options
Print post
Permalink
In reply to this post by Hedley Roos-2
Some javascript/style in this post has been disabled (why?)
Not sure, but I think there are a calendar pop-up in jquery ui too.

Espen



Den 4. okt. 2009 kl. 14.11 skrev Hedley Roos:

I'm at a point where I want a javascript calendar picker for my
z3c.form-heavy product but I can't find one.
collective.z3cform.datetimewidget unfortunately does not have a
javascript popup. I like the one at
http://docs.jquery.com/UI/Datepicker but I have to write a little
product to wrap it.

It seems that we're heading for a proliferation of calendar products
which differ in only one aspect: the UI. Should we perhaps create a
pluggable calendar framework which requires developers to implement a
single interface for any new javascript calendar popup?

Hedley

_______________________________________________
Product-Developers mailing list


_______________________________________________
Product-Developers mailing list
[hidden email]
http://lists.plone.org/mailman/listinfo/product-developers