MyFaces Tomahawk
  1. MyFaces Tomahawk
  2. TOMAHAWK-1398

invalid HTML created when rendering <script> tag on tabbedPane

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.8
    • Fix Version/s: 1.1.9
    • Component/s: Tabbed Pane
    • Labels:
      None
    • Environment:
      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.

        Activity

          People

          • Assignee:
            Leonardo Uribe
            Reporter:
            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

                Development