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

Leonardo Uribe resolved MYFACES-3973.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: 2.2.8
         Assignee: Leonardo Uribe

> <partial-response> element does not contain an "id" attribute
> -------------------------------------------------------------
>
>                 Key: MYFACES-3973
>                 URL: https://issues.apache.org/jira/browse/MYFACES-3973
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-344
>    Affects Versions: 2.2.7
>            Reporter: Jay Sartoris
>            Assignee: Leonardo Uribe
>            Priority: Minor
>             Fix For: 2.2.8
>
>
> In the JSF 2.2 specification, under the Lifecycle changes, it specifies this 
> change:
> --------
> In web-partialresponse_2_2.xsd, require that the <partial-response> element 
> has an “id” attribute whose value is the return from 
> UIViewRoot.getContainerClientId().
> --------
> However, I tested a simple Ajax call using MyFaces 2.2.7, it does not add an 
> id attribute on a response from an Ajax POST request. 
> For example, if you execute an Ajax request in a browser and view the 
> response via web tools you can see something like this:
> <?xml version="1.0" encoding="UTF-8"?>
> <partial-response>
>  <changes>
>       <update id="form1:employeeMatches">
>               <![CDATA[<span id="form1:employeeMatches"></span>]]>
>       </update>
>       <update id="j_id__v_0:javax.faces.ViewState:1">
>         <!CDATA[UUOsHNAgWbpnTUIxakamLpmVmCpjK5C4uqUU38cIIdd6oupU]]>
>       </update>
>  </changes>
> </partial-response>
> However, if you run the same scenario using Mojarra JSF 2.2.10 the 
> <partial-response> tag will contain an id attribute.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to