ICEfaces
  1. ICEfaces
  2. ICE-10156

dateTimeEntry popup remains after dateSelect event

    Details

    • Assignee Priority:
      P2
    • Support Case References:
    • Workaround Exists:
      Yes
    • Workaround Description:
      Hide
      - use 'button' as the popup trigger
      - avoid including the dateTimeEntry in the DOM diff via page-level changes
      - do not use the dateSelect event but use another component to submit the selected date value (which is used in the showcase).
      Show
      - use 'button' as the popup trigger - avoid including the dateTimeEntry in the DOM diff via page-level changes - do not use the dateSelect event but use another component to submit the selected date value (which is used in the showcase).

      Description

      The dateTimeEntry calendar popup will pop back up after selecting a date when an <ace:ajax> dateSelect event is used and the resulting DOM update includes the dateTimeEntry. Presumably this is because ICEfaces resets the current focus to the input field which re-triggers the popup after the DOM update is applied.

      It would be preferable for the component to track when a focus event is the result of a DOM update after a dateSelect and bypass the calendar popup, which is confusing to users.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #42882 Tue Oct 14 05:22:27 MDT 2014 mircea.toma ICE-10156 Delay registration of 'onfocus' callback during initialization of Calendar JS object to avoid re-open of popup when focus retention re-applies focus on the input element.
        Files Changed
        Commit graph MODIFY /icefaces4/trunk/icefaces/ace/component/resources/icefaces.ace/datetimeentry/datetimeentry.js

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: