I use pull tools also, as I almost never use screen, layout or navigation classes. I have an options.xml which is how I describe a menu structure. I then use my "options" pull tool to generate a traversable hierarchy within a template which then can be rendered in any number of ways. Currently it can render text menus, tabbed menus and a hierMenus DHTML menu from the same xml data structure.
The benefits of employing pull tools is that your menu logic is not confined to one navigation class. By locking your menu logic in one navigation class, you are required to perform multiple sub-classings or (gasp!!!) cut and paste the logic into other screen or navigation classes to re-use it. Using a pull tool will allow your web designers to build menus wherever and however they see fit, with little or no intervention on your part. IMOHO, pull tools are one of THE best things about turbine. If you haven't already done so, you should really make yourself familiar with how they work. Regards, Scott > -----Original Message----- > From: Dave Hollar [mailto:[EMAIL PROTECTED]] > Sent: Thursday, March 14, 2002 12:50 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: Dynamic Menu? > > > Brian- > > I've created dynamic menus with a different approach from what you've > described. My menu.vm makes use of a menu pull tool class. > The pull tool > uses the user id to determine what's available and what isn't and the > menu.vm builds the options accordingly. I don't know whether > this is the > best/optimal approach but with time constraints it's the one we chose. > > HTH > -Dave > ----- Original Message ----- > From: <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, March 13, 2002 7:52 AM > Subject: Dynamic Menu? > > > > Hi, > > > > I'm trying to get my menu to be created dynamically by turbine. > > My Menu.vm file is stored in the navigations directory, > I've tried to > create > > a Turbine screen called Menu.java which I store in the > screens directory > and > > which adds the dynamic content to the context to be used by > Menu.vm. My > problem > > is that the Menu.vm doesn't seem to be picking up the data from the > Menu.java > > class. > > > > Can layouts be dynamically created like this? and if yes should I be > putting > > the Menu.java file in the screens directory or should it be > put somewhere > else > > like a navigations directory? > > > > Any help with this would be greatly appreciated. > > > > Brian. > > ---- > > http://www.iol.ie > > > > -- > > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > > > > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> >
