forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@indexgeo.com.au>
Subject Re: Fixing menus
Date Wed, 09 Apr 2003 09:46:47 GMT
On Wed, 2003-04-09 at 04:58, Bert Van Kets wrote:
> At 03:00 9/04/2003 +1000, you wrote:
> >Hi,
> >
> >Lots of people (including me) find Forrest's menus frustratingly limited.
> >Notably:
> >
> >  - There's an artificial distinction between 'menus' (non-clickable
> >    titles) and 'menu-items', which are clickable links.  There must be a
> >    strict interleaving of menus and menu-items.
> >
> >  - Following on from the above, it isn't possible to say "this node
> >    should stay closed until I click on it".
> >
> >These are limitations of the book.xml format (which site.xml generates on
> >the fly).
> 
> IMHO These are limitation of the book2html.xsl.
> The current book.xml can have collapsible menus, it's just a matter of 
> checking to which menu part the current link belongs.
> The closed menu labels can then get a link to the first item which makes 
> them open and show the first page of the menu.
> 
> What you are describing is a 2 tier menu system. The book.xml dtd is the 
> limiting factor here, as it does not allow nested menus.

(Pardon me, i have not yet read the rest of this thread.)

The book DTD is just a hack. If it does not meet your needs then
we can change it. It was manually reverse-engineered from the
book.xml instances of that time.

--David

> I am using a non validating Forrest version so added a second level menu 
> tag, adjusted the book2html.xsl and created collapsible menus in my 
> personal site without any problem.
> 
> Check out www.dream-models.com.
> 
> 
> 
> >So I was thinking, how about we ditch book.xml, and instead use Maven's
> >navigation.xml format?
> 
> -1
> In the light of the carefulness of the backward compatibility used when 
> implementing site.xml, I don't think it would be wise to ditch book.xml.
> I'm convinced we can maintain backward compatibility while providing 
> collapsible menus in book.xml.
> 
> Bert



Mime
View raw message