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] [Resolved] (MYFACES-4106) Implement ResourceHandler.markResourceRendered(...) and ResourceHandler.isResourceRendered(...)
Date Thu, 06 Apr 2017 21:53:42 GMT

     [ https://issues.apache.org/jira/browse/MYFACES-4106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Leonardo Uribe resolved MYFACES-4106.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.3.0

After the review, org.apache.myfaces.STRICT_JSF_2_REFRESH_TARGET_AJAX was deprecated and refactored
include the code and take advange of the new update for ajax request "javax.faces.Resource".
For example:

{code:xml}
<update id="javax
.faces.Resource"><![CDATA[
<link rel="stylesheet" type="text/css" href="/test-webapp-cdi/faces/javax.faces
.resource/style3.css" />
<script type="text/javascript">
script3 = function(){
    alert("script3");
}
</script>
]]></update>
{code}

The previous code update the whole <head> or <body> section. Now the component
resource is added as a element of <head>.

> Implement ResourceHandler.markResourceRendered(...) and ResourceHandler.isResourceRendered(...)
> -----------------------------------------------------------------------------------------------
>
>                 Key: MYFACES-4106
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4106
>             Project: MyFaces Core
>          Issue Type: New Feature
>          Components: JSR-372
>            Reporter: Leonardo Uribe
>            Assignee: Leonardo Uribe
>             Fix For: 2.3.0
>
>
> Implement ResourceHandler.markResourceRendered(...) and ResourceHandler.isResourceRendered(...)
as described in the spec.
> The current implementation is just move the code from ResourceUtils that uses a simple
map, but it is relevant to see how this feature works with dynamic resources loaded from ajax
requests.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message