myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Max Starets (JIRA)" <...@myfaces.apache.org>
Subject [jira] Updated: (TRINIDAD-1820) JSF2 Ajax: View State input field gets recreated on every Ajax request in IE7
Date Tue, 01 Jun 2010 19:11:39 GMT

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

Max Starets updated TRINIDAD-1820:
----------------------------------

    Status: Patch Available  (was: Open)

> 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.


Mime
View raw message