[ 
https://issues.apache.org/jira/browse/MYFACES-2761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12885366#action_12885366
 ] 

Leonardo Uribe commented on MYFACES-2761:
-----------------------------------------

Checking some stuff related to our ResponseWriter implementation, I note that 
it is true facelets enforces xhtml 1.0, but the response content is always 
text/html, because IE does not parse xhtml responses.

Maybe a solution using the previous parser is better. In theory, we just have 
to extract the scripts from the returned head and evaluate one by one. But I 
don't see how the content inside <head> tag could be ill-formed. If that so, 
facelets fail first because it uses a SAX parser and if the document has an 
error like that, it could not be parsed. So in conclusion I think we are ok 
with the proposed solution.

> PartialViewContextImpl does not respect isRenderAll()
> -----------------------------------------------------
>
>                 Key: MYFACES-2761
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2761
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.2-SNAPSHOT
>         Environment: myfaces current trunk
>            Reporter: Martin Kočí
>            Assignee: Leonardo Uribe
>
> This construct should lead to complete ajax re-render of whole view (works 
> with mojarra):
> partialViewContext.setRenderAll(true);
> but it seems that myfaces don't read property renderAll during rendering at 
> all. Probably 
> org.apache.myfaces.context.servlet.PartialViewContextImpl.processPartialRendering(UIViewRoot,
>  PhaseId) should respect this property somehow. Note: there is a possible 
> workaround:
> partialViewContext.getRenderIds().add(javax.faces.context.PartialResponseWriter.RENDER_ALL_MARKER);

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to