incubator-jspwiki-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andre Schild (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JSPWIKI-86) %%tabbedSection are rendered incorrectly
Date Fri, 07 Dec 2007 07:38:43 GMT

    [ https://issues.apache.org/jira/browse/JSPWIKI-86?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12549327
] 

Andre Schild commented on JSPWIKI-86:
-------------------------------------

Hello Dirk,

yes, the tabs work in the jspwiki.org. I also did test it with FF under Windows XP and Ubuntu,
and also with IE 6.0, all show the same problem.

Yesterday I upgraded to the current cvs 2.5.166, but it's still showing the same effect.
No, in the js console I don't see any error or warnings.

When I do a view generated page content from the FF developpers tools I see the following
code:

<div id="pagecontent">
<div class="tabmenu"><a class="activetab" id="menu-tab-This1">This1</a><a
id="menu-tab-This2">This2</a></div><div class="tabmenu"><a class="activetab"
id="menu-tab-This1">This1</a><a id="menu-tab-This2">This2 hidetab</a></div><div
class="tabbedSection tabs">
<span id="tab-This1" class="tab-This1">IsMyFirstTab
Some text inside the first tab.
<div style="clear: both;"></div><div style="clear: both;"></div></span>
<span id="tab-This2" class="tab-This2 hidetab">IsMyLastTab
Some other text inside the second tab.
<div style="clear: both;"></div><div style="clear: both;"></div></span>
</div>
</div>

The problem looks like the item <a id="menu-tab-This2">This2 hidetab</a> is putting
the hidetab class not in the class="" definition, but to the textnode.
Do you know in what part of the javascript this code is generated ?

André

> %%tabbedSection are rendered incorrectly
> ----------------------------------------
>
>                 Key: JSPWIKI-86
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-86
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Default template
>         Environment: JSPWiki v2.5.161-cvs
> Windows XP with Firefox 2.0.0.10 and IE 6.0SP1
>            Reporter: Andre Schild
>            Assignee: Dirk Frederickx
>            Priority: Minor
>         Attachments: screenshot-1.jpg, Wiki.jsp.htm, Wiki.jsp.html
>
>
> The %%tabbedSection is rendered incorrectly.
> It does render also a second line with tabs. 
> Page Content:
> %%tabbedSection
> %%tab-ThisIsMyFirstTab
> Some text inside the first tab.
> /%
> %%tab-ThisIsMyLastTab
> Some other text inside the second tab.
> /%
> /%

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


Mime
View raw message