Uploaded image for project: 'MyFaces Tomahawk'
  1. MyFaces Tomahawk
  2. TOMAHAWK-1095

Javascript error with a form inside the first tab

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • 1.1.1
    • None
    • Tabbed Pane
    • None
    • IE and Firefox

    Description

      Having a tabbedpan with 2 tabs. In each tab, there is a form with simples inputtext and a submit button (h:commandButton).

      On the second form (on the second tab), i can validate the form pushing the return button of the keyboard. But on the first form (on the first tab), i can't, i have to click the submit button.

      A "clear_formname" javascript method is generated for the button. There is a javascript error in the console : "f has no properties", where f is the window.getElementById(FormId).

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            jeromevdl Jérôme Van Der Linden
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: