Return-Path: Delivered-To: apmail-xml-forrest-dev-archive@xml.apache.org Received: (qmail 44033 invoked by uid 500); 2 Apr 2003 14:33:00 -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 43959 invoked from network); 2 Apr 2003 14:32:59 -0000 Received: from grunt26.ihug.com.au (203.109.249.146) by daedalus.apache.org with SMTP; 2 Apr 2003 14:32:59 -0000 Received: from p282-apx1.syd.ihug.com.au (expresso.localdomain) [203.173.141.28] by grunt26.ihug.com.au with esmtp (Exim 3.35 #1 (Debian)) id 190jIO-0003Fj-00; Thu, 03 Apr 2003 00:32:56 +1000 Received: from jeff by expresso.localdomain with local (Exim 3.35 #1 (Debian)) id 190jMe-0003lt-00 for ; Thu, 03 Apr 2003 00:37:20 +1000 Date: Thu, 3 Apr 2003 00:37:19 +1000 From: Jeff Turner To: forrest-dev@xml.apache.org Subject: Re: Changing menu depth of krysalis skin Message-ID: <20030402143719.GA9618@expresso.localdomain> Mail-Followup-To: forrest-dev@xml.apache.org References: <0E92BDED93E8D611866800B0D0795D3A1F4F29@mailsrv.vsa.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <0E92BDED93E8D611866800B0D0795D3A1F4F29@mailsrv.vsa.de> User-Agent: Mutt/1.4i X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N On Mon, Mar 31, 2003 at 01:00:27PM +0100, Schlierf, Stephan wrote: > Hello, > > I checked out the latest avaible cvs-version to try out the new > krysalis skin. > What I would like to do now is to change the menu depth of this skin. > To give you an example: > What I would like to have is something like > > Tab 1 Tab 2 Tab 3 > On Tab 1: > Menu > Submenu > Subsubmenu > Subsubsubmenu > Subsubsubmenu > Subsubmenu > Subsubsubmenu > Subsubsubmenu > Submenu > Menu > Submenu > Subsubmenu > > and so on where menu entries should be identical to tabs - I mean, they > should create the tabs. > And every tab should have the same menu. > As sggested in the "menus and linking" document I played around with > site.xml in my project directory: > > > > > > > > > > href="methods/Vorgehensmodell.html"/> > href="methods/ModelleAnalysephase.html"/> > href="methods/Design.html"/> > > > href="methods/gl_design/AufgabenZiele.html"> > > href="#designprodukte"> > href="#designmodell"/> > href="#designklassen"/> > > href="#subsystemdesign"/> > > > href="#verteilungsmodell"/> > > > > > > > > But I face the following problems: > 1) The "#..." menu items are not displayed. That's a bug, which I've just fixed. > 2) As far as I understand the "menus and linking" document, the "home" and > "methods" tags will create the tabs, but they don't. No, they're not meant to. Tabs are defined separately from the menu, in tabs.xml, not site.xml. If you want, it certainly is possible to generate tabs.xml from site.xml. I've got it prototyped locally. But tabs are links, and top-level site.xml elements generally don't have @href attributes: Here, what should the 'Methodenhandbuch' tab link to? Perhaps the @href of the first child, 'methods/Einleitung.html'? Does this always make sense? What if the first entry is a sub-menu, also without a @href? Currently, there is a bigger problem in Forrest menus: there is a strict separation between "menus", which are non-clickable labels, and "menu-items", which are clickable links. menu-items must be inside a menu. So if you have: > href="methods/gl_design/AufgabenZiele.html"> > > Then "Aufgaben & Ziele" will be rendered non-clickable. Once this bug is fixed (by getting rid of the old book.xml syntax), other problems like generating tabs from site.xml become more tractable. --Jeff > Any help is appreciated! > > TIA > Stephan >