You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Max Starets (JIRA)" <de...@myfaces.apache.org> on 2010/06/02 00:01:50 UTC

[jira] Commented: (TRINIDAD-1820) JSF2 Ajax: View State input field gets recreated on every Ajax request in IE7

    [ https://issues.apache.org/jira/browse/TRINIDAD-1820?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12874270#action_12874270 ] 

Max Starets commented on TRINIDAD-1820:
---------------------------------------

The correct Mojarra issue is https://javaserverfaces.dev.java.net/issues/show_bug.cgi?id=1695

> JSF2 Ajax: View State input field gets recreated on every Ajax request in IE7
> -----------------------------------------------------------------------------
>
>                 Key: TRINIDAD-1820
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1820
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 2.0.0.3-core
>            Reporter: Max Starets
>            Assignee: Max Starets
>         Attachments: trinidad-1820.patch
>
>
> This JIRA is to track fixes in Trinidad's legacy PPR implementation.
> I entered the following Mojarra issue to track work in the jsf.ajax implementation:
> https://mojarra.dev.java.net/issues/show_bug.cgi?id=3
> To reproduce the problem, use ajaxPPRDemos.xhtml and force legacy PPR implementation in web.xml:
>   <context-param>
>     <param-name>org.apache.myfaces.trinidadinternal.PPR_OVER_JSF_AJAX</param-name>
>     <param-value>off</param-value>
>   </context-param>
> Run the page in IE7. Set a breakpoint in TrPage.prototype._updateViewState() where we create the input field.
> Note that the field gets recreated every time. This happens due to an IE bug. If
> the "name" attribute is set programmatically on the newly created input field,
> the field is not reported in the form.elements collection and is not found by
> document.getElementsById(). The workaround is to set both the "name" and the
> "id" attributes.

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