[
https://issues.apache.org/jira/browse/MYFACES-2761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12883439#action_12883439
]
Werner Punz commented on MYFACES-2761:
--------------------------------------
Just to comment something additional to this issue. During the script
implementation it has shown that neither render all nor render head works out.
The issue was that certain browsers based on the Webkit engine prohibit a
<head> replacement (body replacement works fine for certain conditions)
On the script side, I discussed that with the mojarra people and we agreed not
to implement render head for now and limit render all to the body only client
side. (I have not checked if mojarra still behaves like that)
In the end the spec leaves it up to the implementation what has to be done in
that case, which was a last minute change to tackle the problem on the spec
side.
You can issue the full page however, we have a high performance ll parser which
strips out the body in the render all case and only does body replacement.
If you issue a render head on the client side the script will trigger a non
supported error however, for now.
So anything regarding render all on the server side is safe and only cause the
body to be rendered, no matter if the entire html form is issued or just the
body. (including the body tags, which are the only must)
> 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.