Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: EE-3.3.0.GA
-
Fix Version/s: EE-3.3.0.GA_P01, 4.0.BETA, 4.0
-
Component/s: ICE-Components
-
Labels:None
-
Environment:IE9, FF, Chrome
-
Assignee Priority:P1
-
Salesforce Case Reference:
Description
The new feature focus management feature (ICE-8795) still applies focus when a facet is wrapped around a nested panelGrid.
<ice:selectInputText
id="field3"
value="#{focusdemo.field3}"
valueChangeListener="#{focusdemo.keyPressed}"
listVar="testlist" rows="15"
listValue="#{focusdemo.testList}">
<f:facet name="selectInputText">
<ice:panelGrid columns="1">
<ice:outputText id="test" value="#{testlist}" />
</ice:panelGrid>
</f:facet>
</ice:selectInputText>
I've looked at the rendered markup but do not see any focus specific code.
<ice:selectInputText
id="field3"
value="#{focusdemo.field3}"
valueChangeListener="#{focusdemo.keyPressed}"
listVar="testlist" rows="15"
listValue="#{focusdemo.testList}">
<f:facet name="selectInputText">
<ice:panelGrid columns="1">
<ice:outputText id="test" value="#{testlist}" />
</ice:panelGrid>
</f:facet>
</ice:selectInputText>
I've looked at the rendered markup but do not see any focus specific code.
Activity
Field | Original Value | New Value |
---|---|---|
Salesforce Case Reference | 5007000000TxMgqAAF |
Attachment | sf-12250.war [ 16111 ] |
Environment | IE9 | IE9, FF, Chrome |
Assignee | Mircea Toma [ mircea.toma ] | |
Fix Version/s | EE-3.3.0.GA_P01 [ 11174 ] | |
Fix Version/s | 3.4 [ 10770 ] | |
Assignee Priority | P1 [ 10010 ] |
Repository | Revision | Date | User | Message |
ICEsoft Public SVN Repository | #36638 | Thu Jul 11 12:36:33 MDT 2013 | mircea.toma | |
Files Changed | ||||
![]() |
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Summary | Focus management not disable when facet tag used in selectInputText | ice:selectInputText - forces focus on itself after focus was moved to another element |
Component/s | Components [ 10012 ] | |
Component/s | Bridge [ 10011 ] |
Fix Version/s | 4.0 [ 11382 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |
This is issue is not the result of a
ICE-8795regression. It is an issue specific to the autocomplete component. The Autocompleter.updateNow function is invoked when the inline script sent along with the update is evaluated. Eventually the function will apply programmatically the focus on the input element rendered by the component. When a fast tabbing is executed the update arrives after the focus has moved to the next/previous component and thus focus is moved back to the input element.The chosen solution was to re-apply focus back on the input element corresponding to the autocomplete component only when the focus is lost, that is when document.activeElement is null or focus is set on the body element.