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

Matthias Weßendorf commented on TRINIDAD-818:
---------------------------------------------

yes, you are right.
the first is not valid in XHTML.

I noticed this when looking at TRINIDAD-1139
Once that is fixed this is gone as well.

> Core.js: invalid Javascript in Firefox and XHTML
> ------------------------------------------------
>
>                 Key: TRINIDAD-818
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-818
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>    Affects Versions: 1.0.3-core
>         Environment: Java 6, Windows and Linux environments.
>            Reporter: Victor S.
>         Attachments: test.xhtml
>
>
> When accessing forms, Core.js uses javascript sentence "document[x]" (where 
> "x" is the form ID). This works with basic HTML, but not in XHTML documents.
> Changing "document[x]" with "document.forms[x]" my application works fine, 
> both in Firefox and IExplorer.

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