ICEfaces
  1. ICEfaces
  2. ICE-8577

focus is lost on the form on the first update

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 3.1, EE-3.0.0.GA_P01, 3.2.BETA1
    • Fix Version/s: 3.3
    • Component/s: Bridge, Framework
    • Labels:
      None
    • Environment:
      All
    • Assignee Priority:
      P2
    • Workaround Description:
      Hide
      As a workaround the web application can be configured to use an index JSP page that redirects the browser to the JSF page (where this issue occurs). During the redirect the browser will acquire the session tracking cookie. The request for the JSF page will then have this cookie thus prompting the server to generate URLs in the markup without the jsessionid parameter. Because URL format does not change anymore between requests the server will not generate large updates which cause the focus lost problem.
      Show
      As a workaround the web application can be configured to use an index JSP page that redirects the browser to the JSF page (where this issue occurs). During the redirect the browser will acquire the session tracking cookie. The request for the JSF page will then have this cookie thus prompting the server to generate URLs in the markup without the jsessionid parameter. Because URL format does not change anymore between requests the server will not generate large updates which cause the focus lost problem.

      Description


      On the first update of an input element (through singleSubmit or f:ajax) the focus is lost. Setting the tabindex doesn't have any impact on this. Once this first update is made the focus and tabing works without any issues.

      A few things I noticed:
       - This can only be seen when first loading the app in a fresh browser instance. If the tab is closed and then the page is accessed again in a new tab, this isn't an issue. To re-test this the browser needs to be closed and then re-opened between tests.
       - Once the page is displayed initially, if I refresh the page without doing an update, this issue isn't seen.

        Issue Links

          Activity

          Migration created issue -
          Migration made changes -
          Field Original Value New Value
          Reporter Migration [ remote ] Arran Mccullough [ arran.mccullough ]
          Migration made changes -
          Assignee Mircea Toma [ mircea.toma ]
          Fix Version/s 3.2 [ 10338 ]
          Priority Major [ 3 ] Trivial [ 5 ]
          Assignee Priority P2 [ 10011 ]
          Migration made changes -
          Fix Version/s 3.3 [ 10370 ]
          Fix Version/s 3.2 [ 10338 ]
          Migration made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Migration made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          Migration made changes -
          Fix Version/s 3.2 [ 10338 ]
          Fix Version/s 3.3 [ 10370 ]
          Migration made changes -
          Fix Version/s 3.3 [ 10370 ]
          Fix Version/s 3.2 [ 10338 ]
          Migration made changes -
          Attachment Case11612Example.war [ 14947 ]
          Ken Fyten made changes -
          Assignee Priority P2 [ 10011 ] P3 [ 10012 ]
          Ken Fyten made changes -
          Assignee Priority P3 [ 10012 ] P2 [ 10011 ]
          Mircea Toma made changes -
          Workaround Description As a workaround the web application can be configured to use an index JSP page that redirects the browser to the JSF page (where this issue occurs). During the redirect the browser will acquire the session tracking cookie. The request for the JSF page will then have this cookie thus prompting the server to generate URLs in the markup without the jsessionid parameter. Because URL format does not change anymore between requests the server will not generate large updates which cause the focus lost problem.
          Mircea Toma made changes -
          Link This issue is duplicated by ICE-8906 [ ICE-8906 ]
          Ken Fyten made changes -
          Link This issue depends on ICE-8430 [ ICE-8430 ]
          Mircea Toma made changes -
          Link This issue depends on ICE-7803 [ ICE-7803 ]
          Mircea Toma made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Won't Fix [ 2 ]
          Ken Fyten made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Mircea Toma
              Reporter:
              Arran Mccullough
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: