forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vicent Mas <>
Subject problem with site.xml and tabs.xml: empty menus
Date Fri, 27 Mar 2009 17:31:32 GMT

first of all, sorry for the cross posting. Maybe the dev mailing list
was not the
best choice for this message.

I recently intalled forrest-0.90 from svn and started playing
with it. First I tried the skin approach. After some reading, I decided that
using dispatcher was the way to go so I did. Now I've some problems that
I don't know how to fix.

The first problem is related with site.xml and tabs.xml. When a tab has no
visible content if I click on that tab then it is expanded showing an empty
menu. However the expected behavior should be just  select the tab and do not
expand it, simply display the file referenced in the indexfile attribute. This
is in fact what happens using the skin approach.

My site.xml and tabs.xml are:

<tabs software="The Forresters"
                       title="The Forresters"
                       copyright="The Apache Software Foundation"
 <tab id="home" label="Home" dir="" indexfile="index.html"/>
 <tab id="screenshots" label="Screenshots" dir="screenshots"
       <tab id="download" label="Download" dir="download"
       <tab id="development" label="Development" dir="development"
       <tab id="reading" label="Documentation" dir="reading"

<site label="The Forresters" href=""
xmlns="" tab=""

       <overview tab="home">
               <index href="index.html" description="Overview of the project"/>

       <screenshots tab="screenshots" href="screenshots/">
               <index href="screenshots.html" description="Videos and

       <development tab="development" href="development/">
               <index  href="development.html" description="Project

       <download tab="download" label="Getting the software" href="download/"
description="How to get software packages">
               <from_project label="From here" href="download.html"/>
               <distros label="From other sources" href="distros/distros.html"/>

       <reading tab="reading" label="Docs" href="reading/"
description="Documentation about the project">
               <index label="Index" href="documentation.html"/>
               <testimonials label="Testimonials"
               <faq label="FAQ" href="faq/faq.html"/>


With the above layout, clicking on the tabs labeled as Home, Screenshots and
Development the tab is expanded showing an empty menu.

Am I doing something wrong? Is it a bug? The different behavior of the skin and
the dispatcher approaches make me think that there is a bug somewhere.

Any help will be appreciated.


Share what you know, learn what you don't.

View raw message