Wouldn't it be a good idea to add a label provider to the AjaxTree. That way you would have a place to define the diffent nodes is the tree look and work.
Regards Diego 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] > >