myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Leonardo Uribe (JIRA)" <...@myfaces.apache.org>
Subject [jira] Commented: (MYFACES-2761) PartialViewContextImpl does not respect isRenderAll()
Date Wed, 30 Jun 2010 03:37:51 GMT

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

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

Ok, so the best from the server side is just call encodeAll on all children. I'll commit that
behavior.

Testing what ri does in this case, when render=all is sent, all scripts, including the ones
inside <head> tag are evaluated. That causes jsf.js to be loaded again, but does not
replace the content inside <head> tag.

The code on the server side does not do nothing when it is founded javax.faces.ViewHead or
javax.faces.ViewBody as render ids.

> 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.


Mime
View raw message