[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Archetypes-users] calendarWidget
On Thursday 17 February 2005 01:27 pm, Jean Rodrigo Ferri wrote:
> Alec Mitchell escreveu:
> > On Thursday 17 February 2005 06:56 am, HERITIER Damien wrote:
> >>Hi, ;-)
> >>I just install version 3.1.
> >>And I would like to use the calendar Widget without the Time in the edit
> >>form.
> >>I read a post last year, what it wasn't possible to do it.
> >>Is there an option now?
> >>
> >>I try without good result.
> >> DateTimeField('Date',
> >> required=1,
> >> date_only=1, # This option only work for the view mode
> >> widget=CalendarWidget(label='Date', description=" "),
> >> ),
> >>
> >>I saw this option on widget.py :
> >>class CalendarWidget(TypesWidget):
> >> ...
> >> _properties.update({
> >> ...
> >> 'show_hm' : True, # False not supported by the plone templates
> >>yet
> >> ...
> >>
> >>Do you know when it will be ready??
> >>
> >>
> >>Thanks for your answer. ;-)
> >
> > It should work with plone 2.0.5 and AT 1.3.1; if it doesn't then let me
> > know, and I'll see if I can figure out why not.
>
> Well, I tested here with python 2.3.4, zope 2.7.4, plone 2.0.5 and it's
> not working. The dropdown to hour and minutes is showed yet in the
> base_edit template only.
Oh, my mistake, apparently the part of my patch that does AMPM time formatting
was accepted, but not the part that does date only
(http://plone.org/collector/3264). I'll try and put together an updated
patch and submit it to the plone collector. Thanks for letting me know.
Alec
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Archetypes-users mailing list
Archetypes-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/archetypes-users
This mailing list archive is a service of Copilotco.