You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Victor S. (JIRA)" <de...@myfaces.apache.org> on 2007/11/14 15:50:43 UTC
[jira] Created: (TRINIDAD-818) Core.js: invalid Javascript in
Firefox and XHTML
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.
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.
[jira] Commented: (TRINIDAD-818) Core.js: invalid Javascript in
Firefox and XHTML
Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-818?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12545215 ]
Matthias Weßendorf commented on TRINIDAD-818:
---------------------------------------------
I don't see it.
> 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.
>
> 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.
[jira] Commented: (TRINIDAD-818) Core.js: invalid Javascript in
Firefox and XHTML
Posted by "Matthias Weßendorf (JIRA)" <de...@myfaces.apache.org>.
[ 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.