ICEfaces
  1. ICEfaces
  2. ICE-4405

selectInputDate loses focus after closing calendar.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      tomcat 6. icefaces 1.8, jsf 1.2,

      Description

      In version 1.70 and prior of the selectinputdate closing the calendar would put focus on the calendarbutton image, now the focus seems to go to the address bar or top of form.

      This can be seen in component showcase, click on calendar button , select a date , focus leaves the component all together.

        Issue Links

          Activity

          Hide
          Michelle Cannon added a comment -

          We found a workaround, but it only works for us, there were significant changes between icefaces 1.8dr2 and 1.8rc1 for the selectinputdate, we don't really need that new functionality , at least we can live without it for now. We retrofitted the selectinputdateRenderer for 1.8dr2 to 1.80 ga. We did some regression test and it seems to function as the 1.70 component did. The fix in ice-4401 is necessary to make this work.

          Show
          Michelle Cannon added a comment - We found a workaround, but it only works for us, there were significant changes between icefaces 1.8dr2 and 1.8rc1 for the selectinputdate, we don't really need that new functionality , at least we can live without it for now. We retrofitted the selectinputdateRenderer for 1.8dr2 to 1.80 ga. We did some regression test and it seems to function as the 1.70 component did. The fix in ice-4401 is necessary to make this work.
          Hide
          Ken Fyten added a comment -

          This affects the default use-case (date, but no time entry) only. We made a late change to have the component retain the original behavior in terms of automatically closing when a date is selected in date-entry mode, which must be what introduced this issue.

          Focus should be returned to the popup calendar button when a date is selected in this way. Note that no changes should be made to the focus mgmt. behavior if a date+time entry is occurring.

          Show
          Ken Fyten added a comment - This affects the default use-case (date, but no time entry) only. We made a late change to have the component retain the original behavior in terms of automatically closing when a date is selected in date-entry mode, which must be what introduced this issue. Focus should be returned to the popup calendar button when a date is selected in this way. Note that no changes should be made to the focus mgmt. behavior if a date+time entry is occurring.
          Hide
          Adnan Durrani added a comment -

          Fixed:
          Changes made so the calendar button will get the focus after date selection in Date-only selection mode.

          Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\selectinputdate\SelectInputDateRenderer.java
          Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\selectinputdate\SelectInputDateRenderer.java
          Completed: At revision: 18812

          Show
          Adnan Durrani added a comment - Fixed: Changes made so the calendar button will get the focus after date selection in Date-only selection mode. Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\selectinputdate\SelectInputDateRenderer.java Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\src\com\icesoft\faces\component\selectinputdate\SelectInputDateRenderer.java Completed: At revision: 18812
          Hide
          Joanne Bai added a comment -

          Verified with success on ICEfaces 1.8.1 build 1 + Glassfish v2.1 using component showcase facelets-enh

          Browsers tested:
          FF3 - can actually see focus on calendar button after the popup is closed

          IE7 - cannot see where the focus is after the popup calendar gets closed, but the popup calendar will be brought up once the Enter key is hit. It means the calendar button really has the focus.

          Opera 9.64 - the same behavior as in IE7

          Show
          Joanne Bai added a comment - Verified with success on ICEfaces 1.8.1 build 1 + Glassfish v2.1 using component showcase facelets-enh Browsers tested: FF3 - can actually see focus on calendar button after the popup is closed IE7 - cannot see where the focus is after the popup calendar gets closed, but the popup calendar will be brought up once the Enter key is hit. It means the calendar button really has the focus. Opera 9.64 - the same behavior as in IE7

            People

            • Assignee:
              Adnan Durrani
              Reporter:
              Michelle Cannon
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: