ICEfaces
  1. ICEfaces
  2. ICE-6506

SelectOneListbox partialSubmit focus issue

    Details

      Description

      In a form if we have many <ice:selectOneListbox> where each one is partially submitted, or the whole form is partially submitted, then if user sets some value to first drop down by arrow keys(not with mouse) and then if user press tab key then the focus is again coming to first drop down instead of transferring to second drop down.

      This seems to only occur on Firefox. In IE the focus is kept on the next component. This also seems to effect the selectOneListbox, testing the same issue with selectOneMenu doesn't reproduce the same results.

      Sample code:

      <ice:form partialSubmit="true">
      <ice:panelGrid columns="1">
      <ice:selectOneListbox value="0" size="1">
      <f:selectItem itemValue="0" itemLabel="0"/>
      <f:selectItem itemValue="1" itemLabel="1"/>
      <f:selectItem itemValue="2" itemLabel="2"/>
      <f:selectItem itemValue="3" itemLabel="3"/>
      <f:selectItem itemValue="4" itemLabel="4"/>
      </ice:selectOneListbox >
      <ice:selectOneListbox value="0" size="1">
      <f:selectItem itemValue="0" itemLabel="0"/>
      <f:selectItem itemValue="1" itemLabel="1"/>
      <f:selectItem itemValue="2" itemLabel="2"/>
      <f:selectItem itemValue="3" itemLabel="3"/>
      <f:selectItem itemValue="4" itemLabel="4"/>
      </ice:selectOneListbox>
      <ice:selectOneListbox value="0" size="1">
      <f:selectItem itemValue="0" itemLabel="0"/>
      <f:selectItem itemValue="1" itemLabel="1"/>
      <f:selectItem itemValue="2" itemLabel="2"/>
      <f:selectItem itemValue="3" itemLabel="3"/>
      <f:selectItem itemValue="4" itemLabel="4"/>
      </ice:selectOneListbox>
      <ice:selectOneListbox value="0" size="1">
      <f:selectItem itemValue="0" itemLabel="0"/>
      <f:selectItem itemValue="1" itemLabel="1"/>
      <f:selectItem itemValue="2" itemLabel="2"/>
      <f:selectItem itemValue="3" itemLabel="3"/>
      <f:selectItem itemValue="4" itemLabel="4"/>
      </ice:selectOneListbox>

      </ice:panelGrid>
      </ice:form>

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24389 Thu Apr 14 07:59:56 MDT 2011 mircea.toma ICE-6506 Disable focus retention for submits triggered by 'change' events in order to avoid re-focusing the submitting element while tabbing out.
        Files Changed
        Commit graph MODIFY /icefaces2/branches/icefaces-2.0.x-maintenance/icefaces/compat/components/src/main/java/com/icesoft/faces/component/ext/renderkit/ListboxRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24388 Thu Apr 14 07:59:14 MDT 2011 mircea.toma ICE-6506 Disable focus retention for submits triggered by 'change' events in order to avoid re-focusing the submitting element while tabbing out.
        Files Changed
        Commit graph MODIFY /icefaces2/trunk/icefaces/compat/components/src/main/java/com/icesoft/faces/component/ext/renderkit/ListboxRenderer.java
        Repository Revision Date User Message
        ICEsoft Public SVN Repository #24379 Tue Apr 12 07:05:27 MDT 2011 mircea.toma ICE-6506 Disable focus retention for submits triggered by 'change' events.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/component/src/com/icesoft/faces/component/ext/renderkit/ListboxRenderer.java

          People

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

            Dates

            • Created:
              Updated:
              Resolved: