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

Michael Kurz updated MYFACES-2476:
----------------------------------

    Status: Patch Available  (was: Open)

> @this in render not resolved on ajax request
> --------------------------------------------
>
>                 Key: MYFACES-2476
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2476
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.0-alpha
>            Reporter: Michael Kurz
>         Attachments: MYFACES-2476.patch
>
>
> Keyword @this is not resolved correctly for the render attribute of an ajax 
> request. Should be replaced with the actual id before submitting the request. 
> In the js code it actually is replaced but the resulting string is not used.
> Current code is:
>   renderString = renderString.replace(this._OPT_IDENT_FORM, sourceForm.id);
>   renderString = renderString.replace(this._OPT_IDENT_THIS, element.id);
>   passThroughArguments[myfaces._impl.core._jsfImpl._PROP_RENDER] = 
> JSF2Utils.arrayToString(passThroughArguments.render, ' ');
> but imho should be:
>   renderString = renderString.replace(this._OPT_IDENT_FORM, sourceForm.id);
>   renderString = renderString.replace(this._OPT_IDENT_THIS, element.id);
>   passThroughArguments[myfaces._impl.core._jsfImpl._PROP_RENDER] = 
> renderString;

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

Reply via email to