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

invalid HTML created when rendering <script> tag on tabbedPane

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.1.8
    • 1.1.9
    • Tabbed Pane
    • None
    • Windows XP, Netbeans 6.5

    Description

      When I use t:panelTabbedPane and t:panelTab, the following invalid HTML code is inserted:

      <script><!--

      panelTabbedPane_5Fuid91_3Auid163_5FHeadersIDs= new Array("uid91:uid164_headerCell","uid91:uid166_headerCell","uid91:uid168_headerCell","uid91:uid170_headerCell","uid91:uid172_headerCell","uid91:uid174_headerCell");
      panelTabbedPane_5Fuid91_3Auid163_5FIDs= new Array("uid91:uid164.content","uid91:uid166.content","uid91:uid168.content","uid91:uid170.content","uid91:uid172.content","uid91:uid174.content");

      //--></script>

      Solution: add the attribute type="text/javascript" to <script>.

      Better: Remove the comment, because the defect browsers are already history.

      Attachments

        Activity

          People

            lu4242 Leonardo Uribe
            bojan_antonovic Bojan Antonovic
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 5m
                5m
                Remaining:
                Remaining Estimate - 5m
                5m
                Logged:
                Time Spent - Not Specified
                Not Specified