On 11 Jul 2006, at 15:15, Jonathan LaCour wrote:

   1. You cannot use the DatePicker widget (in any of its flavors) in
      Safari or other WebKit-based browsers.

Works-ish for me, but with the caveat that the highlighting seems to blank out the rows/columns
in Safari, so that's sort of broken (using tg 1.0 trunk from svn, latest Safari)

   2. You cannot have more than one DatePicker widget on a single page
      because it uses a hardcoded ID.

My app has two CalendarDateTimePicker objects on one page and it works fine.

SearchForm = widgets.TableForm( fields=[ 
                                                widgets.big_widgets.CalendarDateTimePicker(name="starttime",
                                                                label="Start time",
                                                                validator=DateTimeConvertor(),
                                                                default=datetime(1990,1,1,0,0)),
                                                widgets.big_widgets.CalendarDateTimePicker(name="endtime",
                                                                label="End time",
                                                                default=datetime.now(),
                                                                validator=DateTimeConvertor())

Is this what you want, and does DatePicker behave the same way?

Arthur

-- 
"Some people, when confronted with a problem, think 'I know, I'll use XML.' Now they have two problems."  - Phillip J. Eby




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/turbogears
-~----------~----~----~----~------~----~------~--~---

Reply via email to