Re: Menu Navigation Tree

2005-02-15 Thread Shah Amit
Hi David,
Thanks for your response. I was looking in the same area that you mentioned. 
Actually I have to customize all those macros a little bit. I need 
everything on top tabs and nothing on the left.

Along the similar lines, I have a little bit confusion. When should I use 
folders and pages within that, and when shoudl I use a document set "xxx.ds" 
? I have a fairly simple navigation structure of a tree that goes 3 levels 
deep and I need to represent all of that on top tabs (a little bit like 
amazon.com)

Thanks,
Amit

Original Message Follows
From: David Sean Taylor <[EMAIL PROTECTED]>
Reply-To: "Jetspeed Users List" 
To: Jetspeed Users List 
Subject: Re: Menu Navigation Tree
Date: Tue, 15 Feb 2005 12:06:56 -0800
Shah Amit wrote:
Hi,
I understand the navigation structure of jetspeed a little bit. I am 
reading the ProfiledPageContext interface and trying to figure out how I 
can display a menu tree. The examples do show how child folders and links 
will be displayed. But how can I display the parent tree? Also where 
exactly on the parent menu tree am I currently ... That is my confusion. I 
posted the question before but seems like somehow it didn't make to the 
mailing list so I am posting this again.

The interface
http://cvs.apache.org/viewcvs.cgi/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/profiler/ProfiledPageContext.java?rev=1.3&view=log
provides you with the ability to traverse over the folder and page tree.
Take a look at some of the page decorators examples such as tigris.
Where the profiled page context is set to the $site variable:
#set($site =
   $request.getAttribute("org.apache.jetspeed.profiledPageContext"))
and then passed in to macros
of interest, see
#macro (includeNestedLinksWithIconNavigation $_nodeSet $_nodePrefix 
$_orientation)


--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Menu Navigation Tree

2005-02-15 Thread David Sean Taylor
Shah Amit wrote:
Hi,
I understand the navigation structure of jetspeed a little bit. I am 
reading the ProfiledPageContext interface and trying to figure out how I 
can display a menu tree. The examples do show how child folders and 
links will be displayed. But how can I display the parent tree? Also 
where exactly on the parent menu tree am I currently ... That is my 
confusion. I posted the question before but seems like somehow it didn't 
make to the mailing list so I am posting this again.

The interface
http://cvs.apache.org/viewcvs.cgi/jakarta-jetspeed-2/jetspeed-api/src/java/org/apache/jetspeed/profiler/ProfiledPageContext.java?rev=1.3&view=log
provides you with the ability to traverse over the folder and page tree.
Take a look at some of the page decorators examples such as tigris.
Where the profiled page context is set to the $site variable:
#set($site =
   $request.getAttribute("org.apache.jetspeed.profiledPageContext"))
and then passed in to macros
of interest, see
#macro (includeNestedLinksWithIconNavigation $_nodeSet $_nodePrefix 
$_orientation)


--
David Sean Taylor
Bluesunrise Software
[EMAIL PROTECTED]
[office] +01 707 773-4646
[mobile] +01 707 529 9194
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Menu Navigation Tree

2005-02-15 Thread Shah Amit
Hi,
I understand the navigation structure of jetspeed a little bit. I am reading 
the ProfiledPageContext interface and trying to figure out how I can display 
a menu tree. The examples do show how child folders and links will be 
displayed. But how can I display the parent tree? Also where exactly on the 
parent menu tree am I currently ... That is my confusion. I posted the 
question before but seems like somehow it didn't make to the mailing list so 
I am posting this again.

Thanks,
Amit

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]