Re: Creating a MenuGenerator based on DirectoryGenerator

2003-03-16 Thread Miles Egan
On Sat, 2003-03-15 at 15:15, Keijo Lehto wrote: Hi, I'm thinking about writing my own MenuGenerator by modifying org.apache.cocoon.generation.DirectoryGenerator so that it will read the filesystem under my mount directory and generate sections from directories and resources from certain

Re: Creating a MenuGenerator based on DirectoryGenerator

2003-03-15 Thread Upayavira
The question is: Am I doing something really stupid here? I'm kind of newbie with Cocoon and I most certainly haven't yet understood the whole potential of it so all comments are more than welcome. However, the site I'm building should be completely dynamic and, therefore, the menu creation

Re: Creating a MenuGenerator based on DirectoryGenerator

2003-03-15 Thread Ryan Hoegg
Upayavira wrote: One thing that Forrest does which is impressive (which I will steal for my site at some point) is to allow linking to other pages in a site without knowing the page's final URL. When linking to a page, you use the page's ID. A couple of input modules and a transformer then

Re: Creating a MenuGenerator based on DirectoryGenerator

2003-03-15 Thread Upayavira
Is there a name for this pattern? That's exactly what a Struts ActionForward (or is it Actionmapping?) is! And there's another name for it in Maverick. Forrest calls it 'Semantic Linking', to quote from http://xml.apache.org/forrest/linking.html: Forrest's solution is simple: instead of