MyFaces Trinidad
  1. MyFaces Trinidad
  2. TRINIDAD-818

Core.js: invalid Javascript in Firefox and XHTML

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.3-core
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Java 6, Windows and Linux environments.

      Description

      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.

      1. test.xhtml
        0.4 kB
        Victor S.

        Issue Links

          Activity

          Matthias Weßendorf made changes -
          Assignee Matthias Weßendorf [ matzew ]
          Matthias Weßendorf made changes -
          Link This issue is related to TRINIDAD-1139 [ TRINIDAD-1139 ]
          Victor S. made changes -
          Field Original Value New Value
          Attachment test.xhtml [ 12370184 ]
          Victor S. created issue -

            People

            • Assignee:
              Matthias Weßendorf
              Reporter:
              Victor S.
            • Votes:
              5 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:

                Development