ICEfaces
  1. ICEfaces
  2. ICE-9483

New icecore:focusManager component

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.0.BETA, EE-3.3.0.GA_P02, 4.0
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces 3.x
    • Assignee Priority:
      P2
    • Affects:
      Documentation (User Guide, Ref. Guide, etc.), Sample App./Tutorial

      Description

      Add a new ice core:focusManager component that would provide the following automatic focus setting features when it is included inside a form component:

      - The first visible (enabled) input element in the form has focus set on it initially.
      - Alternatively, if there is an invalid component in the form (failed validation), the first visible (enabled) invalid component will receive focus instead.
      - The application also specify a component to have focus set on it via the "for" attribute.

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #38663 Wed Oct 23 16:41:55 MDT 2013 mircea.toma ICE-9483 Use ice.applyFocus function instead of invoking Element.focus method directly. ice.applyFocus introduction was for overcoming the focus related quirks that some browsers have.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/component/FocusManager.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #38055 Tue Sep 17 09:08:48 MDT 2013 mircea.toma ICE-9483 Make ace:slideEntry focus manageable.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/sliderentry/SliderEntry.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/resources/icefaces.ace/sliderentry/slider.js
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #38050 Mon Sep 16 17:22:28 MDT 2013 mircea.toma ICE-9483 Modified focus manager to handle any Focusable component, regardless if it extends UIInput or not. Modified ace:comboBox, ace:dateTimeEntry (popup mode), ace:fileEntry, ace:selectMenu and ace:simpleSelectOne to have their focus managed.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/simpleselectonemenu/SimpleSelectOneMenu.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/datetimeentry/DateTimeEntry.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/selectmenu/SelectMenu.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/selectmenu/SelectMenuRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/fileentry/FileEntry.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/component/FocusManager.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/combobox/ComboBox.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #37820 Mon Sep 09 13:22:23 MDT 2013 mircea.toma ICE-9483 Modified input ACE components to implement Focusable interface so that the focus manager will focus the correct rendered element.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/radiobutton/RadioButton.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/textareaentry/TextAreaEntry.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/radiobutton/RadioButtonRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/textentry/TextEntry.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/checkboxbutton/CheckboxButtonRenderer.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/checkboxbutton/CheckboxButton.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/maskedentry/MaskedEntry.java
        Commit graph MODIFY /icefaces3/trunk/icefaces/ace/component/src/org/icefaces/ace/component/autocompleteentry/AutoCompleteEntry.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #37415 Wed Aug 14 15:38:09 MDT 2013 mircea.toma ICE-9483 Added Javadocs.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/component/Focusable.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #37392 Tue Aug 13 16:29:51 MDT 2013 mircea.toma ICE-9483 Added test application.
        Files Changed
        Commit graph ADD /icefaces3/trunk/icefaces/samples/core/test/focus-manager/src/main/java/org/icefaces/demo/focusManager
        Commit graph ADD /icefaces3/trunk/icefaces/samples/core/test/focus-manager
        Commit graph ADD /icefaces3/trunk/icefaces/samples/core/test/focus-manager/src/main/java/org/icefaces/demo
        Commit graph ADD /icefaces3/trunk/icefaces/samples/core/test/focus-manager/src/main/java/org/icefaces/demo/focusManager/Entry.java
        Commit graph ADD /icefaces3/trunk/icefaces/samples/core/test/focus-manager/src/main/webapp/WEB-INF/faces-config.xml
        Commit graph ADD /icefaces3/trunk/icefaces/samples/core/test/focus-manager/src/main
        Commit graph ADD /icefaces3/trunk/icefaces/samples/core/test/focus-manager/src/main/webapp/WEB-INF/web.xml
        Commit graph ADD /icefaces3/trunk/icefaces/samples/core/test/focus-manager/src/main/java
        Commit graph ADD /icefaces3/trunk/icefaces/samples/core/test/focus-manager/src/main/webapp/test-first-focus.xhtml
        Commit graph ADD /icefaces3/trunk/icefaces/samples/core/test/focus-manager/src/main/java/org
        Commit graph ADD /icefaces3/trunk/icefaces/samples/core/test/focus-manager/src/main/webapp
        Commit graph ADD /icefaces3/trunk/icefaces/samples/core/test/focus-manager/src/main/java/org/icefaces
        Commit graph ADD /icefaces3/trunk/icefaces/samples/core/test/focus-manager/src/main/webapp/index.html
        Commit graph ADD /icefaces3/trunk/icefaces/samples/core/test/focus-manager/src/main/webapp/WEB-INF
        Commit graph ADD /icefaces3/trunk/icefaces/samples/core/test/focus-manager/src/main/webapp/test-for-focus.xhtml
        Commit graph ADD /icefaces3/trunk/icefaces/samples/core/test/focus-manager/src/main/resources
        Commit graph ADD /icefaces3/trunk/icefaces/samples/core/test/focus-manager/src
        Commit graph ADD /icefaces3/trunk/icefaces/samples/core/test/focus-manager/build.xml
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #37391 Tue Aug 13 16:27:34 MDT 2013 mircea.toma ICE-9483 Add random comment to the JS code to force the application of focus even when the entry was previously focused.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/component/FocusManager.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #37390 Tue Aug 13 15:30:55 MDT 2013 mircea.toma ICE-9483 Optimized imports.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/component/FocusManager.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #37389 Tue Aug 13 15:06:35 MDT 2013 mircea.toma ICE-9483 Implemented icecore:focusManager component.
        Files Changed
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/resources/META-INF/faces-config.xml
        Commit graph MODIFY /icefaces3/trunk/icefaces/core/src/main/resources/META-INF/core.taglib.xml
        Commit graph ADD /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/component
        Commit graph ADD /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/component/Focusable.java
        Commit graph ADD /icefaces3/trunk/icefaces/core/src/main/java/org/icefaces/impl/component/FocusManager.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: