Date picker and Safari Browser

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Date picker and Safari Browser

JeffL
This post was updated on .
Correct me if I am wrong but the short-cut keys (ctrl) for changing year and month in the date picker component do not work under Safari on both Windows and Mac.

On the mac, firefox 2.0.0.14 does infact work with the shortcut keys.

Is this a known issue and is there any resolution? if any?

Regards

Jeff

> Sorry if posted twice to Nabble, forgot that I was not subscribed to ops-users
Reply | Threaded
Open this post in threaded view
|

Re: Date picker and Safari Browser

Robby Cornelissen
Have you tried with the alt keys? Just a guess.

D.

On Wed, Jul 02, 2008 at 01:20:28AM -0700, JeffL wrote:

>
> Correct me if I am wrong but the short-cut keys (ctrl) for changing year and
> month in the date picker component do not work under Safari on both Windows
> and Mac.
>
> On the mac, firefox 2.0.0.14 does infact work with the shortcut keys.
>
> Is this a known issue and is there any resolution? if any?
>
> Regards
>
> Jeff
>
> > Sorry if posted twice to Nabble, forgot that I was not subscribed to
> > ops-users
> --
> View this message in context: http://www.nabble.com/Date-picker-and-Safari-Browser-tp18208654p18208654.html
> Sent from the ObjectWeb OPS - Users mailing list archive at Nabble.com.
>

>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Date picker and Safari Browser

JeffL
Yep, I tried most combinations of control/alt/option keys on both mac  
and windows keyboards.
It appears that it might be a safari thing...

Jeff

On 02/07/2008, at 4:51 PM, [hidden email] wrote:

> Have you tried with the alt keys? Just a guess.
>
> D.
>
> On Wed, Jul 02, 2008 at 01:20:28AM -0700, JeffL wrote:
>>
>> Correct me if I am wrong but the short-cut keys (ctrl) for  
>> changing year and
>> month in the date picker component do not work under Safari on  
>> both Windows
>> and Mac.
>>
>> On the mac, firefox 2.0.0.14 does infact work with the shortcut keys.
>>
>> Is this a known issue and is there any resolution? if any?
>>
>> Regards
>>
>> Jeff
>>
>>> Sorry if posted twice to Nabble, forgot that I was not subscribed to
>>> ops-users
>> --
>> View this message in context: http://www.nabble.com/Date-picker- 
>> and-Safari-Browser-tp18208654p18208654.html
>> Sent from the ObjectWeb OPS - Users mailing list archive at  
>> Nabble.com.
>>
>
>>
>> --
>> You receive this message as a subscriber of the [hidden email]  
>> mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Date picker and Safari Browser

Erik Bruchez
Administrator
I didn't even know they were keyboard shortcuts ;-)

Most likely we won't fix this. We would like to migrate to the YUI  
date picker anyway. But if you find a solution please let us know.

-Erik

On Jul 2, 2008, at 5:52 AM, Jeffrey Lambourne wrote:

> Yep, I tried most combinations of control/alt/option keys on both  
> mac and windows keyboards.
> It appears that it might be a safari thing...
>
> Jeff
>
> On 02/07/2008, at 4:51 PM, [hidden email] wrote:
>
>> Have you tried with the alt keys? Just a guess.
>>
>> D.
>>
>> On Wed, Jul 02, 2008 at 01:20:28AM -0700, JeffL wrote:
>>>
>>> Correct me if I am wrong but the short-cut keys (ctrl) for  
>>> changing year and
>>> month in the date picker component do not work under Safari on  
>>> both Windows
>>> and Mac.
>>>
>>> On the mac, firefox 2.0.0.14 does infact work with the shortcut  
>>> keys.
>>>
>>> Is this a known issue and is there any resolution? if any?
>>>
>>> Regards
>>>
>>> Jeff
>>>
>>>> Sorry if posted twice to Nabble, forgot that I was not subscribed  
>>>> to
>>>> ops-users
>>> --
>>> View this message in context: http://www.nabble.com/Date-picker-and-Safari-Browser-tp18208654p18208654.html
>>> Sent from the ObjectWeb OPS - Users mailing list archive at  
>>> Nabble.com.
>>>
>>
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email]  
>>> mailing list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email]  
>> mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Date picker and Safari Browser - A Solution

JeffL
I have a solution to this issue in regard to popup calendars.

Attached is the calendar.js which I have updated.
This works on Safari 3.1 (Windows and Mac), Firefox 2.x (Windows and  
Mac) and IE-7.
Basically the issue with the key strokes not being trapped in Safari  
is because 'keypress' is being used.
Substitute 'keydown'  in place of 'keypress'.

Then Ctrl+left skips back months, Ctrl+right skips forward months,  
Ctrl+Up skips back years, Ctrl_Down skips forward years.

This feature is extremely important for use cases like Date of Birth.
A user needs to select a year in a single controlled movement - i.e.  
keyboard entry.
Use of mouse dropdowns for year/ clicking on up/down arrows do not  
cut it - I know from bitter experience.
Typing in dd/mm/yyyy is prone to error and the calendar control  
ensures correctly formatted date - although it does assume the  
correct date is selected!!!

Does the YUI support this function? If not please not remove the  
current calendar.

Regards

Jeff





On 03/07/2008, at 12:22 AM, Erik Bruchez wrote:

> I didn't even know they were keyboard shortcuts ;-)
>
> Most likely we won't fix this. We would like to migrate to the YUI  
> date picker anyway. But if you find a solution please let us know.
>
> -Erik
>
> On Jul 2, 2008, at 5:52 AM, Jeffrey Lambourne wrote:
>
>> Yep, I tried most combinations of control/alt/option keys on both  
>> mac and windows keyboards.
>> It appears that it might be a safari thing...
>>
>> Jeff
>>
>> On 02/07/2008, at 4:51 PM, [hidden email] wrote:
>>
>>> Have you tried with the alt keys? Just a guess.
>>>
>>> D.
>>>
>>> On Wed, Jul 02, 2008 at 01:20:28AM -0700, JeffL wrote:
>>>>
>>>> Correct me if I am wrong but the short-cut keys (ctrl) for  
>>>> changing year and
>>>> month in the date picker component do not work under Safari on  
>>>> both Windows
>>>> and Mac.
>>>>
>>>> On the mac, firefox 2.0.0.14 does infact work with the shortcut  
>>>> keys.
>>>>
>>>> Is this a known issue and is there any resolution? if any?
>>>>
>>>> Regards
>>>>
>>>> Jeff
>>>>
>>>>> Sorry if posted twice to Nabble, forgot that I was not  
>>>>> subscribed to
>>>>> ops-users
>>>> --
>>>> View this message in context: http://www.nabble.com/Date-picker- 
>>>> and-Safari-Browser-tp18208654p18208654.html
>>>> Sent from the ObjectWeb OPS - Users mailing list archive at  
>>>> Nabble.com.
>>>>
>>>
>>>>
>>>> --
>>>> You receive this message as a subscriber of the ops-
>>>> [hidden email] mailing list.
>>>> To unsubscribe: mailto:[hidden email]
>>>> For general help: mailto:[hidden email]?subject=help
>>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>>
>>>
>>> --
>>> You receive this message as a subscriber of the [hidden email]  
>>> mailing list.
>>> To unsubscribe: mailto:[hidden email]
>>> For general help: mailto:[hidden email]?subject=help
>>> OW2 mailing lists service home page: http://www.ow2.org/wws
>>
>>
>> --
>> You receive this message as a subscriber of the [hidden email]  
>> mailing list.
>> To unsubscribe: mailto:[hidden email]
>> For general help: mailto:[hidden email]?subject=help
>> OW2 mailing lists service home page: http://www.ow2.org/wws
>
> --
> Orbeon Forms - Web Forms for the Enterprise Done the Right Way
> http://www.orbeon.com/
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws

calendar.js (49K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: Re: Re: Date picker and Safari Browser - A Solution

Alessandro Vernet
Administrator
Jeff,

On Tue, Jul 15, 2008 at 9:21 PM, Jeffrey Lambourne <[hidden email]> wrote:
> I have a solution to this issue in regard to popup calendars.

Great!

> Basically the issue with the key strokes not being trapped in Safari is
> because 'keypress' is being used.
> Substitute 'keydown'  in place of 'keypress'.
>
> Then Ctrl+left skips back months, Ctrl+right skips forward months, Ctrl+Up
> skips back years, Ctrl_Down skips forward years.
>
> This feature is extremely important for use cases like Date of Birth.
> A user needs to select a year in a single controlled movement - i.e.
> keyboard entry.
> Use of mouse dropdowns for year/ clicking on up/down arrows do not cut it -
> I know from bitter experience.
> Typing in dd/mm/yyyy is prone to error and the calendar control ensures
> correctly formatted date - although it does assume the correct date is
> selected!!!
>
> Does the YUI support this function? If not please not remove the current
> calendar.
I haven't seen anything about this type of keyboard shortcuts in the
YUI calendar, but you might want to check this for yourself
(http://developer.yahoo.com/yui/calendar/) and maybe ask in the YUI
mailing list about it
(http://www.nabble.com/ydn-javascript-f16949.html).

Alex
--
Orbeon Forms - Web 2.0 Forms, open-source, for the Enterprise
Orbeon's Blog: http://www.orbeon.com/blog/
Personal Blog: http://avernet.blogspot.com/
Twitter - http://twitter.com/avernet


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws