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

2013-10-01 Thread Othmen Tiliouine
 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 d...@haywood-associates.co.uk

 On 28 September 2013 13:18, Othmen Tiliouine tiliouine.oth...@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 tiliouine.oth...@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) j...@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.

2013-10-01 Thread Dan Haywood
ah yes, you are correct... #2 show datepicker automatically when page
loaded (if is first field).



On 1 October 2013 21:45, Othmen Tiliouine tiliouine.oth...@gmail.comwrote:

  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 d...@haywood-associates.co.uk

  On 28 September 2013 13:18, Othmen Tiliouine tiliouine.oth...@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 tiliouine.oth...@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) j...@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.

2013-09-29 Thread Dan Haywood
On 28 September 2013 13:18, Othmen Tiliouine tiliouine.oth...@gmail.comwrote:

 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 tiliouine.oth...@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) j...@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.

2013-09-28 Thread Othmen Tiliouine
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) j...@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.

2013-09-28 Thread Othmen Tiliouine
what is the best ?


2013/9/28 Othmen Tiliouine tiliouine.oth...@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) j...@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





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

2013-09-20 Thread Dan Haywood (JIRA)
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