I would use the sitemap hivemind service. There is a default sitemap component, but it's not really needed for what you want.
I've used the sitemap service to do exactly what you describe, only we have permissions and such built into the xml structure that is parsed. I haven't added this into the tacos version because it would open the door to all manner of support I don't want to be involved in :) I don't understand your requirements enough regarding having a dynamic database driven site structure, but sitemap is based on having knowledge of "Pages" so that it can correctly build PageLink type navigation to all the various portions of your app. I would at the very least take a look at it, the tacos demo uses it to build it's own navigation and I think it will handle pretty much any navigational structure you can throw at it. It has built in support for parent / child categories and such as well. On 4/5/06, Peter Verhoye <[EMAIL PROTECTED]> wrote: > > > That's a really hard question to answer. wtf does launch a new module > mean? > > The reason I didn't answer it is because it sounds like wanting advice > on > > the IA portion of your app rather than technical help on something > specific. > > Hi! > > With 'launch a new module' I meant like going to a section of your > website. Like you would with the Sitemap component. > What we need is a dynamic component that loads a tree structure of > objects and shows the labels attached to these objects. Each object > represent an action. But parent actions don't 'launch' anything, only > leaf actions do. > > For example > CONTACT MODULE > |--Create contact > |--Edit contact > |--... > COMPANY MODULE > |--Create company > |--... > > Now, the reason it has to be dynamic is because the user that logs in > may only see sections and actions he has access to. > > Because of that ajax features in the tree component we first took a look > at this one but the documentation made it a bit hard for me (Tapestry > newbie) to adapt the code to go from directory tree to my tree :-) > But the I saw the Sitemap component but from what I've read, it needs a > static xml file. > > BB > Peter > > > > > On 4/5/06, Peter Verhoye <[EMAIL PROTECTED]> wrote: > >> No one? > >> > >> Peter Verhoye wrote: > >>> Hi all, > >>> > >>> As a T4 newbie (Tx newbie in general :-), I want to do the following: > >>> create a component that shows a tree Strings so that when the user > >>> clicks on one of them, an new module in the website is launched. > >>> > >>> Now, I was planning on doing this with the tacos:tree component but > find > >>> the lack of documentation making my life a bit hard. Looking on the > web > >>> though, I found out about the Tacos:sitemap component. > >>> > >>> Now, some questions: > >>> - is the tacos:tree the way to go? If so, does anyone have any > pointers > >>> to help me out? The example on the tacos site is to be honest a bit > hard > >>> on me :-) > >>> > >>> - is the tacos:sitemap component the way to go? If so, how can I make > >>> the map dynamic? What I mean is that the map should show items that > the > >>> user has the right to see (the list of items comes from a DB). > >>> > >>> Help is much appreciated!! Thanks in advance! > >>> > >>> BB > >>> Peter > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > -- > > Jesse Kuhnert > > Tacos/Tapestry, team member/developer > > > > Open source based consulting work centered around > > dojo/tapestry/tacos/hivemind. http://opennotion.com > > > > -- > Synergetic Solutions nv (www.synergetic-solutions.be) > Crystal Palace > Paalstraat 14 > B-1080 Brussel > Tel : +32 (0)2 219.10.12 > Fax : +32 (0)2 219.40.28 > GSM : +32 (0)475 60.12.61 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jesse Kuhnert Tacos/Tapestry, team member/developer Open source based consulting work centered around dojo/tapestry/tacos/hivemind. http://opennotion.com
