ICEfaces
  1. ICEfaces
  2. ICE-1712

<ice:selectInputDate/> fails to set focus after date is selected from popup calender

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.6.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Win XP / JDK 1.4 / Tomcat 5.5.17 / Liferay 4.3.0-RC1

      Description

      I happened to notice this because I saw an error in the ICEfaces SHIFT+CTRL+T window:

      10:31:10 error [window] : Failed to set focus on [_sample_icefaces_sun_WAR_sampleicefacessunportlet_INSTANCE_iBR8__id1:_sample_icefaces_sun_WAR_sampleicefacessunportlet_INSTANCE_iBR8__id3:dateOfBirth_1574_calendar][object Error]

      See attached portlet in order to reproduce.

      Thanks,
      Neil

      ---

      This issue is happening without portlets also, as reported in the Forum:

      When calling requestFocus on instance of selectInputDate component I am getting javascript error in the debug window.

      Code:

       12:54:49 error [window] : Failed to set focus on [calendarEditForm:sendWhenDate]
       TypeError: id.asExtendedElement().focus is not a function
       

        Activity

        Neil Griffin created issue -
        Neil Griffin made changes -
        Field Original Value New Value
        Attachment sample-icefaces-sun-portlet.zip [ 10464 ]
        Ken Fyten made changes -
        Fix Version/s 1.7 [ 10080 ]
        Ken Fyten made changes -
        Summary <ice:selectInputDate/> fails to set focus after date is selected from popup calender when running as a portlet <ice:selectInputDate/> fails to set focus after date is selected from popup calender
        ICEfaces Forum Reference http://www.icefaces.org/JForum/posts/list/5383.page#23981
        Component/s Components [ 10012 ]
        Fix Version/s 1.6.1 [ 10070 ]
        Fix Version/s 1.7 [ 10080 ]
        Assignee Priority P2
        Description I happened to notice this because I saw an error in the ICEfaces SHIFT+CTRL+T window:

        10:31:10 error [window] : Failed to set focus on [_sample_icefaces_sun_WAR_sampleicefacessunportlet_INSTANCE_iBR8__id1:_sample_icefaces_sun_WAR_sampleicefacessunportlet_INSTANCE_iBR8__id3:dateOfBirth_1574_calendar][object Error]

        See attached portlet in order to reproduce.

        Thanks,

        Neil
        I happened to notice this because I saw an error in the ICEfaces SHIFT+CTRL+T window:

        10:31:10 error [window] : Failed to set focus on [_sample_icefaces_sun_WAR_sampleicefacessunportlet_INSTANCE_iBR8__id1:_sample_icefaces_sun_WAR_sampleicefacessunportlet_INSTANCE_iBR8__id3:dateOfBirth_1574_calendar][object Error]

        See attached portlet in order to reproduce.

        Thanks,
        Neil

        ---

        This issue is happening without portlets also, as reported in the Forum:

        When calling requestFocus on instance of selectInputDate component I am getting javascript error in the debug window.

        Code:

         12:54:49 error [window] : Failed to set focus on [calendarEditForm:sendWhenDate]
         TypeError: id.asExtendedElement().focus is not a function
         
        Assignee Adnan Durrani [ adnan.durrani ]
        Adnan Durrani made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        Adnan Durrani made changes -
        Status In Progress [ 3 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P2
        Assignee Adnan Durrani [ adnan.durrani ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Neil Griffin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: