You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2013/09/20 19:47:55 UTC

[jira] [Created] (ISIS-544) If auto-focus on an action param date, then doesn't show calendar picker.

Dan Haywood created ISIS-544:
--------------------------------

             Summary: If auto-focus on an action param date, then doesn't show calendar picker.
                 Key: ISIS-544
                 URL: https://issues.apache.org/jira/browse/ISIS-544
             Project: Isis
          Issue Type: Improvement
          Components: Viewer: Wicket
    Affects Versions: viewer-wicket-1.2.0
            Reporter: Dan Haywood
            Assignee: Dan Haywood
            Priority: Minor
             Fix For: viewer-wicket-1.4.0




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Re: [jira] [Created] (ISIS-544) If auto-focus on an action param date, then doesn't show calendar picker.

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
ah yes, you are correct... #2.... show datepicker automatically when page
loaded (if is first field).



On 1 October 2013 21:45, Othmen Tiliouine <ti...@gmail.com>wrote:

> > Probably #3.
>
> I dont understand .. You said Probably #3. but i think you mean #2
> 1 - prevent the input from being auto-focused on load
> 2 - show the datepicker on load
> 3 - activate datepicker show when the input is clicked, because datepicker
> use "focus" event and not "click"
>
>
> 2013/9/29 Dan Haywood <da...@haywood-associates.co.uk>
>
> > On 28 September 2013 13:18, Othmen Tiliouine <tiliouine.othmen@gmail.com
> > >wrote:
> >
> > > what is the best ?
> > >
> > >
> > Probably #3.
> >
> > There are two related requirements:
> > a. that the first field on the page has focus
> > b. that the datepicker is shown when the date field has focus.
> >
> > When the first field happens to be a datepicker, that means we should be
> > showing the datepicker immediately.
> >
> > I don't know which exact javascript event fits best for that, happy for
> you
> > to try out.
> >
> > (If and when we refactor to use Bootstrap 3, we'll possibly need to
> revisit
> > anyway.  So this ticket is very much in the "nice to have" category).
> >
> > Thx
> > Dan
> >
> >
> >
> >
> > >
> > > 2013/9/28 Othmen Tiliouine <ti...@gmail.com>
> > >
> > > > Hi Dan,
> > > >
> > > > I think there is tree solutions :
> > > >
> > > > - prevent the input from being auto-focused on load
> > > > - show the datepicker on load
> > > > - activate datepicker show when the input is clicked, because
> > datepicker
> > > > use "focus" event and not "click"
> > > >
> > > >
> > > >
> > >
> >
> http://stackoverflow.com/questions/10718082/show-jquery-ui-datepicker-on-input-field-click
> > > >
> > > >
> > > > Othmen
> > > >
> > > >
> > > > 2013/9/20 Dan Haywood (JIRA) <ji...@apache.org>
> > > >
> > > > Dan Haywood created ISIS-544:
> > > >> --------------------------------
> > > >>
> > > >>              Summary: If auto-focus on an action param date, then
> > > doesn't
> > > >> show calendar picker.
> > > >>                  Key: ISIS-544
> > > >>                  URL:
> https://issues.apache.org/jira/browse/ISIS-544
> > > >>              Project: Isis
> > > >>           Issue Type: Improvement
> > > >>           Components: Viewer: Wicket
> > > >>     Affects Versions: viewer-wicket-1.2.0
> > > >>             Reporter: Dan Haywood
> > > >>             Assignee: Dan Haywood
> > > >>             Priority: Minor
> > > >>              Fix For: viewer-wicket-1.4.0
> > > >>
> > > >>
> > > >>
> > > >>
> > > >> --
> > > >> This message is automatically generated by JIRA.
> > > >> If you think it was sent incorrectly, please contact your JIRA
> > > >> administrators
> > > >> For more information on JIRA, see:
> > > http://www.atlassian.com/software/jira
> > > >>
> > > >
> > > >
> > >
> >
>

Re: [jira] [Created] (ISIS-544) If auto-focus on an action param date, then doesn't show calendar picker.

Posted by Othmen Tiliouine <ti...@gmail.com>.
> Probably #3.

I dont understand .. You said Probably #3. but i think you mean #2
1 - prevent the input from being auto-focused on load
2 - show the datepicker on load
3 - activate datepicker show when the input is clicked, because datepicker
use "focus" event and not "click"


2013/9/29 Dan Haywood <da...@haywood-associates.co.uk>

> On 28 September 2013 13:18, Othmen Tiliouine <tiliouine.othmen@gmail.com
> >wrote:
>
> > what is the best ?
> >
> >
> Probably #3.
>
> There are two related requirements:
> a. that the first field on the page has focus
> b. that the datepicker is shown when the date field has focus.
>
> When the first field happens to be a datepicker, that means we should be
> showing the datepicker immediately.
>
> I don't know which exact javascript event fits best for that, happy for you
> to try out.
>
> (If and when we refactor to use Bootstrap 3, we'll possibly need to revisit
> anyway.  So this ticket is very much in the "nice to have" category).
>
> Thx
> Dan
>
>
>
>
> >
> > 2013/9/28 Othmen Tiliouine <ti...@gmail.com>
> >
> > > Hi Dan,
> > >
> > > I think there is tree solutions :
> > >
> > > - prevent the input from being auto-focused on load
> > > - show the datepicker on load
> > > - activate datepicker show when the input is clicked, because
> datepicker
> > > use "focus" event and not "click"
> > >
> > >
> > >
> >
> http://stackoverflow.com/questions/10718082/show-jquery-ui-datepicker-on-input-field-click
> > >
> > >
> > > Othmen
> > >
> > >
> > > 2013/9/20 Dan Haywood (JIRA) <ji...@apache.org>
> > >
> > > Dan Haywood created ISIS-544:
> > >> --------------------------------
> > >>
> > >>              Summary: If auto-focus on an action param date, then
> > doesn't
> > >> show calendar picker.
> > >>                  Key: ISIS-544
> > >>                  URL: https://issues.apache.org/jira/browse/ISIS-544
> > >>              Project: Isis
> > >>           Issue Type: Improvement
> > >>           Components: Viewer: Wicket
> > >>     Affects Versions: viewer-wicket-1.2.0
> > >>             Reporter: Dan Haywood
> > >>             Assignee: Dan Haywood
> > >>             Priority: Minor
> > >>              Fix For: viewer-wicket-1.4.0
> > >>
> > >>
> > >>
> > >>
> > >> --
> > >> This message is automatically generated by JIRA.
> > >> If you think it was sent incorrectly, please contact your JIRA
> > >> administrators
> > >> For more information on JIRA, see:
> > http://www.atlassian.com/software/jira
> > >>
> > >
> > >
> >
>

Re: [jira] [Created] (ISIS-544) If auto-focus on an action param date, then doesn't show calendar picker.

Posted by Dan Haywood <da...@haywood-associates.co.uk>.
On 28 September 2013 13:18, Othmen Tiliouine <ti...@gmail.com>wrote:

> what is the best ?
>
>
Probably #3.

There are two related requirements:
a. that the first field on the page has focus
b. that the datepicker is shown when the date field has focus.

When the first field happens to be a datepicker, that means we should be
showing the datepicker immediately.

I don't know which exact javascript event fits best for that, happy for you
to try out.

(If and when we refactor to use Bootstrap 3, we'll possibly need to revisit
anyway.  So this ticket is very much in the "nice to have" category).

Thx
Dan




>
> 2013/9/28 Othmen Tiliouine <ti...@gmail.com>
>
> > Hi Dan,
> >
> > I think there is tree solutions :
> >
> > - prevent the input from being auto-focused on load
> > - show the datepicker on load
> > - activate datepicker show when the input is clicked, because datepicker
> > use "focus" event and not "click"
> >
> >
> >
> http://stackoverflow.com/questions/10718082/show-jquery-ui-datepicker-on-input-field-click
> >
> >
> > Othmen
> >
> >
> > 2013/9/20 Dan Haywood (JIRA) <ji...@apache.org>
> >
> > Dan Haywood created ISIS-544:
> >> --------------------------------
> >>
> >>              Summary: If auto-focus on an action param date, then
> doesn't
> >> show calendar picker.
> >>                  Key: ISIS-544
> >>                  URL: https://issues.apache.org/jira/browse/ISIS-544
> >>              Project: Isis
> >>           Issue Type: Improvement
> >>           Components: Viewer: Wicket
> >>     Affects Versions: viewer-wicket-1.2.0
> >>             Reporter: Dan Haywood
> >>             Assignee: Dan Haywood
> >>             Priority: Minor
> >>              Fix For: viewer-wicket-1.4.0
> >>
> >>
> >>
> >>
> >> --
> >> This message is automatically generated by JIRA.
> >> If you think it was sent incorrectly, please contact your JIRA
> >> administrators
> >> For more information on JIRA, see:
> http://www.atlassian.com/software/jira
> >>
> >
> >
>

Re: [jira] [Created] (ISIS-544) If auto-focus on an action param date, then doesn't show calendar picker.

Posted by Othmen Tiliouine <ti...@gmail.com>.
what is the best ?


2013/9/28 Othmen Tiliouine <ti...@gmail.com>

> Hi Dan,
>
> I think there is tree solutions :
>
> - prevent the input from being auto-focused on load
> - show the datepicker on load
> - activate datepicker show when the input is clicked, because datepicker
> use "focus" event and not "click"
>
>
> http://stackoverflow.com/questions/10718082/show-jquery-ui-datepicker-on-input-field-click
>
>
> Othmen
>
>
> 2013/9/20 Dan Haywood (JIRA) <ji...@apache.org>
>
> Dan Haywood created ISIS-544:
>> --------------------------------
>>
>>              Summary: If auto-focus on an action param date, then doesn't
>> show calendar picker.
>>                  Key: ISIS-544
>>                  URL: https://issues.apache.org/jira/browse/ISIS-544
>>              Project: Isis
>>           Issue Type: Improvement
>>           Components: Viewer: Wicket
>>     Affects Versions: viewer-wicket-1.2.0
>>             Reporter: Dan Haywood
>>             Assignee: Dan Haywood
>>             Priority: Minor
>>              Fix For: viewer-wicket-1.4.0
>>
>>
>>
>>
>> --
>> This message is automatically generated by JIRA.
>> If you think it was sent incorrectly, please contact your JIRA
>> administrators
>> For more information on JIRA, see: http://www.atlassian.com/software/jira
>>
>
>

Re: [jira] [Created] (ISIS-544) If auto-focus on an action param date, then doesn't show calendar picker.

Posted by Othmen Tiliouine <ti...@gmail.com>.
Hi Dan,

I think there is tree solutions :

- prevent the input from being auto-focused on load
- show the datepicker on load
- activate datepicker show when the input is clicked, because datepicker
use "focus" event and not "click"

http://stackoverflow.com/questions/10718082/show-jquery-ui-datepicker-on-input-field-click


Othmen


2013/9/20 Dan Haywood (JIRA) <ji...@apache.org>

> Dan Haywood created ISIS-544:
> --------------------------------
>
>              Summary: If auto-focus on an action param date, then doesn't
> show calendar picker.
>                  Key: ISIS-544
>                  URL: https://issues.apache.org/jira/browse/ISIS-544
>              Project: Isis
>           Issue Type: Improvement
>           Components: Viewer: Wicket
>     Affects Versions: viewer-wicket-1.2.0
>             Reporter: Dan Haywood
>             Assignee: Dan Haywood
>             Priority: Minor
>              Fix For: viewer-wicket-1.4.0
>
>
>
>
> --
> This message is automatically generated by JIRA.
> If you think it was sent incorrectly, please contact your JIRA
> administrators
> For more information on JIRA, see: http://www.atlassian.com/software/jira
>