You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Bojan Antonovic (JIRA)" <de...@myfaces.apache.org> on 2009/03/05 11:15:56 UTC

[jira] Created: (TOMAHAWK-1398) invalid HTML created

invalid HTML created
--------------------

                 Key: TOMAHAWK-1398
                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1398
             Project: MyFaces Tomahawk
          Issue Type: Bug
          Components: Tabbed Pane
    Affects Versions: 1.1.8
         Environment: Windows XP, Netbeans 6.5
            Reporter: Bojan Antonovic


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TOMAHAWK-1398) invalid HTML created

Posted by "Leonardo Uribe (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TOMAHAWK-1398?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Leonardo Uribe resolved TOMAHAWK-1398.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.1.9-SNAPSHOT
         Assignee: Leonardo Uribe

Applied suggested solution on HtmlTabbedPaneRenderer. The comments are rendered by myfaces ResponseWriter, but we can't change it by backward reasons. Thanks for the tip.

> invalid HTML created
> --------------------
>
>                 Key: TOMAHAWK-1398
>                 URL: https://issues.apache.org/jira/browse/TOMAHAWK-1398
>             Project: MyFaces Tomahawk
>          Issue Type: Bug
>          Components: Tabbed Pane
>    Affects Versions: 1.1.8
>         Environment: Windows XP, Netbeans 6.5
>            Reporter: Bojan Antonovic
>            Assignee: Leonardo Uribe
>             Fix For: 1.1.9-SNAPSHOT
>
>   Original Estimate: 0.08h
>  Remaining Estimate: 0.08h
>
> 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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.