Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@www.apache.org Received: (qmail 59480 invoked from network); 13 Nov 2003 16:38:47 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 13 Nov 2003 16:38:47 -0000 Received: (qmail 46540 invoked by uid 500); 13 Nov 2003 16:38:41 -0000 Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 46422 invoked by uid 500); 13 Nov 2003 16:38:39 -0000 Mailing-List: contact forrest-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: forrest-dev@xml.apache.org Delivered-To: mailing list forrest-dev@xml.apache.org Received: (qmail 46411 invoked from network); 13 Nov 2003 16:38:39 -0000 Received: from unknown (HELO web10005.mail.yahoo.com) (216.136.130.41) by daedalus.apache.org with SMTP; 13 Nov 2003 16:38:39 -0000 Message-ID: <20031113163841.9371.qmail@web10005.mail.yahoo.com> Received: from [156.99.90.162] by web10005.mail.yahoo.com via HTTP; Thu, 13 Nov 2003 08:38:41 PST Date: Thu, 13 Nov 2003 08:38:41 -0800 (PST) From: Joshua Lynch Subject: trouble with tabs To: forrest-dev@xml.apache.org In-Reply-To: <1068739088.79896.ezmlm@xml.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N I'm having trouble with the tab behavior on a website I'm building with Forrest. I guess I'm configuring something incorrectly since the 'seed' website tabs work correctly. I have spent a long time reading the Forrest docs and the mailing list archive trying to find out what I'm doing wrong. Here's my problem. When I click one of my tabs (I kept the 'Home' tab and it seems to work) the menu shows *every* entry defined by my site.xml and the Home tab is highlighted rather than my tab. For example if I have three tabs Home, A and B and I click tab A I expect to see a menu on the left side with those entries from site.xml I have marked with tab="tab-A". But instead I'm seeing every possible entry in the menu. I see what I think is the correct menu if I then select one of the menu links to a page associated with tab A. So it's just the index page for tab A that seems wrong. I can reproduce the problem in the 'seed' website by adding this to site.xml: and adding this to tab.xml: Then I create a directory under xdocs called 'bad' and I copy into it sample/sample.html (removing links so it builds without errors) and xdocs/index.html. After I build the site the Home and Sample tabs behave correctly but when I click my new Bad tab the Home tab is highlighted and the menu shows every link defined in site.xml. If I click the 'Good Content' link on the Bad tab menu then I see a menu with only the 'Good Content' link. I'd appreciate it if someone can tell me what I have done wrong. Thanks. Josh Lynch __________________________________ Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard http://antispam.yahoo.com/whatsnewfree