You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org> on 2009/11/11 01:06:27 UTC

[jira] Commented: (MYFACES-2368) Update Render Response Phase to new spec

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

Leonardo Uribe commented on MYFACES-2368:
-----------------------------------------

Committed a solution for the first two, but there is still pending the last one (on/off when f:view). Also added the following comment:

            // TODO: JSF 2.0 section 2.2.6, it says if the current response
            // is a partial response(ajax), then there must be no content written
            // outside of the f:view. This has sense only on jsp case, because            
            // we don't control jsp rendering and in this way we prevent unwanted
            // rendering. But note f:ajax only works on facelets, and f:view
            // tag handler only set properties for the current view root. It's
            // more, in facelets, every thing that render is a UIComponent instance,
            // so it is inside view root.
            // Anyway, we should put the expected behavior (take a look at 
            // context.servlet.ResponseSwitch) here and enable rendering when
            // PartialViewContextImpl.processPartialRendering(UIComponent, PhaseId)
            // do its own work, but for now it is 


> Update Render Response Phase to new spec
> ----------------------------------------
>
>                 Key: MYFACES-2368
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2368
>             Project: MyFaces Core
>          Issue Type: Task
>          Components: JSR-314
>            Reporter: Leonardo Uribe
>
> In few words, the new render response phase requires:
> - Publish PreRenderViewEvent
> - call vdl.buildView() (and remove this call from FaceletsViewDeclarationLanguage.renderResponse)
> - deal with org.apache.myfaces.context.servlet.ResponseSwitch (on/off when f:view)

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