[
https://issues.apache.org/jira/browse/MYFACES-4141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16165259#comment-16165259
]
Leonardo Uribe commented on MYFACES-4141:
-----------------------------------------
I ignore if this is implemented in Mojarra. I remember the idea was compare the
list of resources and the difference add it through an extra <update> section
in the ajax request. MyFaces uses something different, because we have an
alternative solution that detect the change instead rely on a list comparison.
The param that was deprecated is
org.apache.myfaces.STRICT_JSF_2_REFRESH_TARGET_AJAX.
Since f:websocket rely on "channel" concept, that means the view does not
change on a websocket push. It was an intentional simplification.
The important thing here is if you add a component resource like an script or a
stylesheet in the current view, for example an ajaxified button with an
ActionListener method that adds the resource, the algorithm should pick up the
change and load the resource on the client side after parse the <update>
section.
> JSF 2.3 Spec Issue 1436 - MyFaces Implementation requires Server Push
> functionality
> -----------------------------------------------------------------------------------
>
> Key: MYFACES-4141
> URL: https://issues.apache.org/jira/browse/MYFACES-4141
> Project: MyFaces Core
> Issue Type: Bug
> Components: JSR-372
> Affects Versions: 2.3.0-beta
> Reporter: Paul Nicolucci
> Fix For: 2.3.0
>
>
> The following spec issue does not look to be implemented in the MyFaces
> 2.3.0-beta: https://github.com/javaee/javaserverfaces-spec/issues/1436
> The following text was added to the JSF 2.3 specification section 2.2.6
> "Render Response":
> If running on a container that supports Servlet 4.0 or later, after any
> dynamic component manipulations have been
> completed, any resources that have been added to the UIViewRoot, such as
> scripts, images, or stylesheets, and any
> inline images, must be pushed to the client using the Servlet Server Push
> API. All of the pushes must be started
> before any of the HTML of the response is rendered to the client.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)