ICEfaces
  1. ICEfaces
  2. ICE-9521

ice:selectOneMenu/selectOneRadio - focus lost after updating component style

    Details

    • Assignee Priority:
      P1
    • Salesforce Case Reference:

      Description

      In this use case, code has been added so that when an ice:selectOneMenu or an ice:selectOneRadio button value is submitted, the CSS is changed for this to indicate that it has been submitted.

      The issue here is that when the style is change, focus is now lost. This seems to be an issue with both the ICE components and the same standard JSF components.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #37424 Fri Aug 16 11:57:07 MDT 2013 mircea.toma ICE-9521 Modified ice.applyFocus function to look at document.activeElement variable instead of currentFocus when deciding to re-apply focus on the submitting element. Also, modified HtmlSelectOneRadio.getOnClick method to return JS code that sets the focus before the partial submit.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/ext/HtmlSelectOneRadio.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/javascript/focus.js

          People

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

            Dates

            • Created:
              Updated:
              Resolved: