Thissounds like you want the Compound Document “Outline” function to apply tofolders as well. This just happens to be an exercise in the Builder course.Here it is:
<![if !supportEmptyParas]> <![endif]>
Using the techniques presented in class,implement the Outline function for folders. Note that in off-the-shelf Livelinkthis function is only available for Compound Documents.
And hereis the solution:
<![if !supportLists]>1) <![endif]>Usean existing compound document or create a new one. From the function menuselect Outline and observe the resulting URL. Note that it calls the LL requesthandler. As we did in class, set a breakpoint in this request handler andexecute the Outline function again and trace the operation.
<![if !supportLists]>2) <![endif]>Asuccessful trace of the stack should lead you to the Action-Outline method ofthe Compound Document webnode object.
<![if !supportLists]>3) <![endif]>Younow know how to create new, and override existing, functionality of an Action-xmethod by creating a WebNodeAction object and overriding its _subclassExecutemethod. In this case you want to create a new function for folders.
<![if !supportLists]>4) <![endif]>Createa WebNodeAction object and copy the code from the Action-Outline method of theCompound Document Webnode to the _subclassExecute method.
<![if !supportLists]>5) <![endif]>Whatchanges will you need to make?
I hopethis helps
Howard
______________________
Howard Pell
Senior Technical Educator
Liaison, Special Projects
Open Text Corporation
www.opentext.com
(1-519) 888-7111 Ext. 2203
-----OriginalMessage-----From: eLink Discussion:Development Discussion [mailto:development@elinkkc.opentext.com]Sent: Thursday, January 29, 20043:58 PMTo: eLink RecipientSubject: Tree View of Folders?
Tree View of Folders?
Posted by HPcaAdmin (Runds, Thomas ) on 01/29/2004 03:57 PM
How do I get a tree view of folders that I can store the documents in? More importantly, how do I get the root?