ICEfaces
  1. ICEfaces
  2. ICE-5604

Compat: Focus is lost after submission on input component

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-Alpha2
    • Fix Version/s: 2.0-Beta1, 2.0.0
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows 7, Windows XP Professional, IE 8, Firefox 3.6.3

      Description

      After submition on component (press ENTER key), focus doesn't stay on the same place but the focus is lost.

      Components, where the problem was noticed: TabPanel, Collapsible panel, Tree

      The problem is probably on every submition on every component. (IceFaces 1.8.2, 1.8.2a are correct)

        Activity

        Hide
        Ken Fyten added a comment -

        Please test using latest GLimmer to see if you can reproduce. The auctionMonitor bidding /chat and compat showcase submit buttons would be good candidates.

        Show
        Ken Fyten added a comment - Please test using latest GLimmer to see if you can reproduce. The auctionMonitor bidding /chat and compat showcase submit buttons would be good candidates.
        Hide
        Mandeep Hayher added a comment -

        Glimmer revision# 21611
        Server: Tomcat6
        Browser: FF3.6

        Focus problem CAN be reproduced on Tree component.

        Collapsible panel has NO focus issues.

        Static Tabset has No focus issue.
        It does have tabindex issues: cannot tab into individual radio buttons. Cannot tab into check boxes (need to select some checkbox by clicking before using tab key)
        Selection component page has similar tabindex issues too.

        Dynamic Tabset has NO focus issues.

        Show
        Mandeep Hayher added a comment - Glimmer revision# 21611 Server: Tomcat6 Browser: FF3.6 Focus problem CAN be reproduced on Tree component. Collapsible panel has NO focus issues. Static Tabset has No focus issue. It does have tabindex issues: cannot tab into individual radio buttons. Cannot tab into check boxes (need to select some checkbox by clicking before using tab key) Selection component page has similar tabindex issues too. Dynamic Tabset has NO focus issues.
        Hide
        Ken Fyten added a comment -

        Need to ensure that the 1.8 focus support apis, etc. are working in compat also. Please investigate.

        Show
        Ken Fyten added a comment - Need to ensure that the 1.8 focus support apis, etc. are working in compat also. Please investigate.
        Hide
        Mircea Toma added a comment -

        It seems that ice.focus parameter was not sent during submit. The fix change iceSubmit/iceSubmitPartial to send the ID of the currently focused component.

        Show
        Mircea Toma added a comment - It seems that ice.focus parameter was not sent during submit. The fix change iceSubmit/iceSubmitPartial to send the ID of the currently focused component.
        Hide
        Mircea Toma added a comment - - edited

        Changed CompatDOMPartialViewContext to send the code needed to re-apply focus on the element. This ensures that the element retains its focus even after an update was applied.

        Show
        Mircea Toma added a comment - - edited Changed CompatDOMPartialViewContext to send the code needed to re-apply focus on the element. This ensures that the element retains its focus even after an update was applied.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Miroslav Karsulin
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: