You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Brian Preuß (JIRA)" <de...@myfaces.apache.org> on 2010/03/09 14:46:27 UTC

[jira] Commented: (MYFACES-2588) JavaScript error in function oamClearHiddenInput in IE8

    [ https://issues.apache.org/jira/browse/MYFACES-2588?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12843045#action_12843045 ] 

Brian Preuß commented on MYFACES-2588:
--------------------------------------

The issue seems to be a side effect of a malicious compenent on our page which created a duplicate hidden input field for javax.faces.ViewState, which causes the problems in Internet Explorer.

Removing the malicious component fixes the issue, so no need to alter MyFaces code.

> JavaScript error in function oamClearHiddenInput in IE8
> -------------------------------------------------------
>
>                 Key: MYFACES-2588
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2588
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 1.2.7
>         Environment: Windows Vista, Internet Explorer 8.0.6001.18882, MyFaces 1.2.7
>            Reporter: Brian Preuß
>            Assignee: Jakob Korherr
>            Priority: Blocker
>         Attachments: patch-MYFACES-2588.diff
>
>
> The JavaScript function oamClearHiddenInput generate an error when using IE8. The error says "illegal argument" in the line "form.removeChild(hInput);".
> You can see a description of this problem at http://groups.google.com/group/alt.comp.lang.javascript/browse_thread/thread/2380af22f06b05a6/475ae9c43505c581.
> I'll try to submit a patch for that :)

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