forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thorsten Scherler (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FOR-209) First level selected tab is not highlighted when containing 2nd level tabs
Date Sat, 29 Jul 2006 00:31:14 GMT
    [ http://issues.apache.org/jira/browse/FOR-209?page=comments#action_12424243 ] 
            
Thorsten Scherler commented on FOR-209:
---------------------------------------

I want to rephrase my statement, David example is an example for FOR-203. 

The problem with FOR-203 and FOR-209 is the code generating the tabs from tab.xml. 

The same code (my comment in FOR-203 - replace level2 with level1) is producing this issue.

A side note on this issue on @dir. 

  <tab label="Documentation" id="docu" dir="docs"  indexfile="index.html" >
    <tab label="Version 1.4" dir="1_4" id="1_4" indexfile="index.html"/>
    <tab label="Modules" dir="modules" id="modules" indexfile="index.html"/>
    <tab label="Version 1.2" dir="1_2_x" id="1_2" indexfile="index.html"/>
  </tab>

I expected that the second level tabs would inherit the dir (same behaviour as in site.xml),
but I needed to change the tabs.xml like:

  <tab label="Documentation" id="docu" dir="docs"  indexfile="index.html" >
    <tab label="Version 1.4" dir="docs/1_4" id="1_4" indexfile="index.html"/>
    <tab label="Modules" dir="docs/modules" id="modules" indexfile="index.html"/>
    <tab label="Version 1.2" dir="docs/1_2_x" id="1_2" indexfile="index.html"/>
  </tab>

Maybe it would make sense to harmonize this behaviour while we solve this issue.



> First level selected tab is not highlighted when containing 2nd level tabs
> --------------------------------------------------------------------------
>
>                 Key: FOR-209
>                 URL: http://issues.apache.org/jira/browse/FOR-209
>             Project: Forrest
>          Issue Type: Bug
>          Components: Skins (general issues)
>    Affects Versions: 0.6, 0.7
>         Environment: MacOS 10.3.4, java 1.4.2
>            Reporter: Sjur N. Moshagen
>             Fix For: 0.8-dev
>
>
> When there are two levels of tabs, the selected first level tab does not get highlighted,
nor are there any other visual or structural clues as to which first-level tab is active,
and which contains the displayed 2nd level tabs.
> This is checked with both the default skin, and with tigris-style.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message