ICEfaces
  1. ICEfaces
  2. ICE-8552

Add click listener on calendar input field to show calendar popup

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: EE-3.0.0.GA_P01, 3.2
    • Fix Version/s: EE-3.0.0.GA_P01, 3.2
    • Component/s: ACE-Components
    • Labels:
      None
    • Environment:
      *

      Description

      Originally requested by Nils.

      In ICE-8453, focus was set back to input field after date select. After that, you have to blur and refocus to show calendar again. Need to add click listener to show calendar without blurring and refocusing.

        Activity

        Hide
        yip.ng added a comment - - edited

        Click listener added, but:

        First major problem:

        As per implementation described at http://jira.icesoft.org/browse/ICE-8453?focusedCommentId=41915&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_41915 , don't-show flag reset only on blur, therefore, calendar won't show because flag is still true.

        Show
        yip.ng added a comment - - edited Click listener added, but: First major problem: As per implementation described at http://jira.icesoft.org/browse/ICE-8453?focusedCommentId=41915&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#action_41915 , don't-show flag reset only on blur, therefore, calendar won't show because flag is still true.
        Hide
        yip.ng added a comment - - edited

        Done by checking click event type. Click event is not otherwise used on input field, so should be OK. Tested: IE7, IE8, IE9, FF15.

        Modified: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\resources\icefaces.ace\jquery\ui\jquery-ui.js
        Modified: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\resources\icefaces.ace\jquery\ui\readme.txt
        Modified: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\src\org\icefaces\ace\component\datetimeentry\DateTimeEntryRenderer.java
        Completed: At revision: 30745

        Modified: C:\svn\ossrepo\icefaces3\branches\icefaces-3.0.x-maintenance\icefaces\ace\component\resources\icefaces.ace\jquery\ui\jquery-ui.js
        Modified: C:\svn\ossrepo\icefaces3\branches\icefaces-3.0.x-maintenance\icefaces\ace\component\resources\icefaces.ace\jquery\ui\readme.txt
        Completed: At revision: 30748

        Show
        yip.ng added a comment - - edited Done by checking click event type. Click event is not otherwise used on input field, so should be OK. Tested: IE7, IE8, IE9, FF15. Modified: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\resources\icefaces.ace\jquery\ui\jquery-ui.js Modified: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\resources\icefaces.ace\jquery\ui\readme.txt Modified: C:\svn\ossrepo\icefaces3\trunk\icefaces\ace\component\src\org\icefaces\ace\component\datetimeentry\DateTimeEntryRenderer.java Completed: At revision: 30745 Modified: C:\svn\ossrepo\icefaces3\branches\icefaces-3.0.x-maintenance\icefaces\ace\component\resources\icefaces.ace\jquery\ui\jquery-ui.js Modified: C:\svn\ossrepo\icefaces3\branches\icefaces-3.0.x-maintenance\icefaces\ace\component\resources\icefaces.ace\jquery\ui\readme.txt Completed: At revision: 30748

          People

          • Assignee:
            yip.ng
            Reporter:
            yip.ng
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: