Using basic.war with Mojarra 2.2.0 (SNAPSHOT 20120215)
The non-ICEfaces page update:
<?xml version='1.0' encoding='UTF-8'?>
<partial-response id="j_id1"><changes><update id="pg1"><Unable to render embedded object: File ([CDATA[<span id="pg1"><span id="out1">Show</span></span>]]></update><update id="pg2"><) not found.[CDATA[<span id="pg2"></span>]]></update><update id="j_id1:javax.faces.ViewState:0"><![CDATA[-2326805724723792318:-4660846604958319870]]></update></changes></partial-response>
The ICEfaces page update:
<?xml version='1.0' encoding='UTF-8'?>
<partial-response id="j_id1"><changes><update id="pg1"><Unable to render embedded object: File ([CDATA[<span id="pg1"><span id="out1">Show</span></span>]]></update><update id="pg2"><) not found.[CDATA[<span id="pg2"></span>]]></update><update id="time"><Unable to render embedded object: File ([CDATA[<span id="time">1329342305884</span>]]></update><update id="vmiegvxe_icefaces_config"><) not found.[CDATA[<span id="vmiegvxe_icefaces_config"><script>ice.setupBridge('vmiegvxe_icefaces_config', 'vmiegvxe', 'fkgyovz02f',
{deltaSubmit: false,disableDefaultErrorPopups: false,standardFormSerialization: false,sendDisposeWindow: true,blockUIOnSubmit: false}
);</script></span>]]></update><update id="javax.faces.ViewState"><![CDATA[-8424576785144756149:-2402759869823110869]]></update></changes></partial-response>
this difference is due to DOMPartialViewContext.java:
private void renderState() throws IOException
{
// Get the view state and write it to the response..
PartialResponseWriter writer = getPartialResponseWriter();
writer.startUpdate(PartialResponseWriter.VIEW_STATE_MARKER);
String state = facesContext.getApplication().getStateManager().getViewState(facesContext);
writer.write(state);
writer.endUpdate();
}
Sample response using Mojarra 2.1.6
<?xml version='1.0' encoding='UTF-8'?>
{"validationFailed":false}<partial-response><changes><update id="form:valueDescription"><Unable to render embedded object: File (valueDescription" style="font-weight: bold;">unselected</span>]]></update><update id="javax.faces.ViewState"><) not found.[CDATA[2937085888543728922:-8789158179856658572]]></update><extension aceCallbackParam="validationFailed">
</extension></changes></partial-response>
Sample response using Mojarra 2.2.0 (SNAPSHOT 20120215)
<?xml version='1.0' encoding='UTF-8'?>
{"validationFailed":false}<partial-response id="j_id1"><changes><update id="form:valueDescription"><Unable to render embedded object: File (valueDescription" style="font-weight: bold;">unselected</span>]]></update><update id="javax.faces.ViewState"><) not found.[CDATA[7207117905624929807:-8945325661020011338]]></update><extension aceCallbackParam="validationFailed">
</extension></changes></partial-response>