Details
- 
        Type:
 Bug
            
         - 
        Status: Closed
 - 
            Priority:
 Major
                
             - 
            Resolution: Won't Fix
 - 
            Affects Version/s: EE-1.8.2.GA_P04
 - 
            Fix Version/s: EE-1.8.2.GA_P05
 - 
            Component/s: ICE-Components
 - 
            Labels:None
 - 
            Environment:IE8
 
- 
                        Assignee Priority:P2
 
Description
This issue is only seen in IE8, testing in IE9, the same update can be seen but the focus remains on the correct component.
- 
                                            Hide
- Case11430Example.war
 - 6.47 MB
 - Arran Mccullough
 - 
                                        
- META-INF/MANIFEST.MF 0.1 kB
 - META-INF/context.xml 0.1 kB
 - WEB-INF/classes/com/.../example/Item.class 0.3 kB
 - WEB-INF/classes/.../example/TestBean.class 0.7 kB
 - WEB-INF/faces-config.xml 0.8 kB
 - WEB-INF/lib/backport-util-concurrent.jar 319 kB
 - WEB-INF/lib/commons-beanutils.jar 226 kB
 - WEB-INF/lib/commons-collections.jar 558 kB
 - WEB-INF/lib/commons-digester.jar 140 kB
 - WEB-INF/lib/commons-discovery.jar 75 kB
 - WEB-INF/lib/commons-fileupload.jar 56 kB
 - WEB-INF/lib/commons-lang.jar 240 kB
 - WEB-INF/lib/commons-logging.jar 52 kB
 - WEB-INF/lib/icefaces-comps.jar 1.76 MB
 - WEB-INF/lib/icefaces-facelets.jar 596 kB
 - WEB-INF/lib/icefaces.jar 1.23 MB
 - WEB-INF/lib/jsf-api-1.2.jar 355 kB
 - WEB-INF/lib/jsf-impl-1.2.jar 837 kB
 - WEB-INF/web.xml 4 kB
 - css/rime/css-images/Thumbs.db 4 kB
 - css/rime/css-images/submit.jpeg 1 kB
 - css/rime/rime.css 93 kB
 - welcomeICEfaces.xhtml 2 kB
 
 
 - 
                                            
                        
- Case11430Example.zip
 - 29 kB
 - Arran Mccullough
 
 
- 
                    
                    
- screenshot-01.png
 - 224 kB
 
 - 
                    
                    
- screenshot-02.png
 - 206 kB
 
 
Activity
- All
 - Comments
 - History
 - Activity
 - Remote Attachments
 - Subversion
 
Root cause is the mismatch of the <select> value and <selectItem> value. See scrennshot-1.png. This somehow causes the framework to do an extra (unnecessary?) DOM update. See screenshot-2.png. That in turn somehow breaks the framework focus management in IE8.
Initial state
<select class="iceSelOneMnu-dis" 
  disabled="disabled" 
  id="iceForm:j_id12" 
  name="iceForm:j_id12" 
  onblur="setFocus('');" 
  onfocus="setFocus(this.id);" 
  size="1">
<option value="1">Number1 - 1</option>
</select>
submission:
ice.submit.partial=true&ice.event.target=iceForm%3Aj_id16&ice.event.captured=iceForm%3Aj_id16&ice.event.type=onblur&iceForm%3Aj_id16=World&iceForm%3Aj_id12=1&iceForm%3Aj_id10=Hello&javax.faces.RenderKitId=ICEfacesRenderKit&javax.faces.ViewState=2&icefacesCssUpdates=&iceForm=&ice.session=45g-TMkrJ-gOLbMo7N6zJQ&ice.view=2&ice.focus=&rand=0.6510431396309286
Update:
<updates><update address="iceForm:j_id12" tag="select"><attribute name="class"><Unable to render embedded object: File ([CDATA[iceSelOneMnu-dis]]></attribute><attribute name="disabled"><) not found.[CDATA[disabled]]></attribute><attribute name="id"><Unable to render embedded object: File (j_id12]]></attribute><attribute name="name"><) not found.[CDATA[iceForm:j_id12]]></attribute><attribute name="onblur"><Unable to render embedded object: File ([CDATA[setFocus('');]]></attribute><attribute name="onfocus"><) not found.[CDATA[setFocus(this.id);]]></attribute><attribute name="size"><Unable to render embedded object: File ([CDATA[1]]></attribute><content><) not found.[CDATA[<option value="1">Number1 - 1</option>]]></content></update></updates>
[4:32:46 PM] Mark Collette: App workaround for ICE-8348
<ice:selectOneMenu value="1" disabled="true>
    <f:selectItem itemValue="1" itemLabel="Number1 - 1"/>
or
<ice:selectOneMenu value="" disabled="true>
    <f:selectItem itemValue="" itemLabel="Please select a number"/>
    <f:selectItem itemValue="1" itemLabel="Number1 - 1"/>
Attached test case that shows issue.
Steps: