You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Shah Amit <am...@hotmail.com> on 2005/02/15 19:48:24 UTC
Menu Navigation Tree
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: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: Menu Navigation Tree
Posted by Shah Amit <am...@hotmail.com>.
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 <da...@bluesunrise.com>
Reply-To: "Jetspeed Users List" <je...@jakarta.apache.org>
To: Jetspeed Users List <je...@jakarta.apache.org>
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
david@bluesunrise.com
[office] +01 707 773-4646
[mobile] +01 707 529 9194
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org
Re: Menu Navigation Tree
Posted by David Sean Taylor <da...@bluesunrise.com>.
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
david@bluesunrise.com
[office] +01 707 773-4646
[mobile] +01 707 529 9194
---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org