Re: Want make a tree menu in jetspeed 1.5

2004-11-16 Thread David Sean Taylor
James Wang wrote:
Dear all,
 
I wanna define a TreeMenu Controller in Jetspeed 1.5.
when i define a pane's layout is treemenu,all the
portlets in this pane
and its sub pane should be displayed in 
the left menu navigation tree,and i can click one
pane,then collapse
this pane and show its portlet ,if there is a sub-pane
in this pane
and then i can  collapse this sub-pane too,until i
click one portlet
and in the right screen show this portlet content.
 
one word,i wanna show all childs of a pane with a
navigation tree.
how to do i got this?
 
i researched the source file:
  
org\apache\jetspeed\portal\controls\VelocityPortletSetControl.java
 
  ..
private Collection getTabs(PortletSet portlets,
RunData rundata, Context context)
for (Enumeration en = portlets.getPortlets();
en.hasMoreElements(); count++)
{
Portlet p = (Portlet) en.nextElement();
.
}
 
i wanna get some information of the 'Portlet'
interface,but when i 
tried some method, p.getName(),p.getTitle(),it cant
identify it is a portlet
or is a pane.it seems that all of those are portlet.so
i cant know when and how
to get it's child information.
 
 
No one has ever contributed a Javascript menu to J1.
Recommend writing a layout with javascript and please :), sending us a 
patch when you have it

--
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]


RE: Want make a tree menu in jetspeed 1.5

2004-11-16 Thread Pe, Win {PI}
Hi All,

I have used JavaScript 'Tigra' tree menu from SoftComplex. They have various 
versions and basic version is free. You can find the script at 
http://www.softcomplex.com/products/tigra_tree_menu/. They also have drop down 
menu and again basic version is free. 
http://www.softcomplex.com/products/tigra_menu/. I found it quite easy to set 
up. 

I use the drop down menu across the top to tie all intranet sites together and 
tree menu in left navigational bar.

Hope it helps.

Regards,

Win Pe



-Original Message-
From: David Sean Taylor [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 17 November 2004 10:55
To: Jetspeed Users List
Subject: Re: Want make a tree menu in jetspeed 1.5


James Wang wrote:

> Dear all,
>  
> I wanna define a TreeMenu Controller in Jetspeed 1.5.
> when i define a pane's layout is treemenu,all the
> portlets in this pane
> and its sub pane should be displayed in 
> the left menu navigation tree,and i can click one
> pane,then collapse
> this pane and show its portlet ,if there is a sub-pane
> in this pane
> and then i can  collapse this sub-pane too,until i
> click one portlet
> and in the right screen show this portlet content.
>  
> one word,i wanna show all childs of a pane with a
> navigation tree.
> how to do i got this?
>  
> i researched the source file:
>   
> org\apache\jetspeed\portal\controls\VelocityPortletSetControl.java
>  
>   ..
> private Collection getTabs(PortletSet portlets,
> RunData rundata, Context context)
> for (Enumeration en = portlets.getPortlets();
> en.hasMoreElements(); count++)
> {
> Portlet p = (Portlet) en.nextElement();
> .
> }
>  
> i wanna get some information of the 'Portlet'
> interface,but when i 
> tried some method, p.getName(),p.getTitle(),it cant
> identify it is a portlet
> or is a pane.it seems that all of those are portlet.so
> i cant know when and how
> to get it's child information.
>  
>  
No one has ever contributed a Javascript menu to J1.
Recommend writing a layout with javascript and please :), sending us a 
patch when you have it

-- 
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]