Re: Cascading Menus from PSML

2003-09-21 Thread Christophe Lombart
Jonathan Porterfield wrote:

Hmmm,

I'm not quite sure why using the customizer would be a problem.(?) I'm sure
you know the environment better than me, though.
It just takes more time to code.



At least that's a first thought. Comments, critiques, identification of
major gaps in logic greatly appreciated.
-JP
 

It is not a so simple solution  I didn' yet take the time to think 
about that.
Same like you, it is not my first requirement.
My first idea was to use something a layout info tag which specify on 
which menu level the entry or portlets has to be associated.

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


RE: Cascading Menus from PSML

2003-09-20 Thread Jonathan Porterfield
Hmmm,

I'm not quite sure why using the customizer would be a problem.(?) I'm sure
you know the environment better than me, though.

In fact, I haven't had a lot of time to explore this yet. There are too many
other items on my list to fix before making the site excessively pretty.
Things like the session time-out behavior which is pretty hostile in the
current version.

But for this, what I have been looking for is just to find the whole PSML
instance in the context. From there, I can navigate the Tree and grab the
bits that I want to display.

I haven't thought it through completely, but off the top of my head, I
would:
- configure my psalm as:

root (CardPortletController)
  Home Page  (RowController)
- portlet1 (ClearPortletController)
- portlet2 (ClearPortletController)
- ...
  RSS  (CardPortletController)
- portlet3 (ClearPortletController)
- portlet4 (ClearPortletController)
- portlet5 (ClearPortletController)
- portlet6 (ClearPortletController)
  Dynamic  (CardPortletController)
- portlet7 (ClearPortletController)
- portlet8 (RowCollumnController)
  - portlet8.1  (ClearPortletController)
  - portler8.2  (ClearPortletController)
  - portler8.3  (ClearPortletController)
- portlet9 (ClearPortletController)

And I would want to build a tree of all the elements which report directly
to an element that is controlled by CardPortletController. This is because
it doesn't make sense to target one portlet of six that sit on the same
page.

So the menu based on the psml above would be
 Home
 RSS
 - portlet3
 - portlet4
 - portlet5
 - portlet6
 Dynamic
 - portlet7
 - portlet8
 - portlet9

 As long as we can get a tree representation of the psml structure
containing
 - parent/child relationships
 - portlet ids for linking
 - security restrictions

 There are many high quality dynamic menu scripts available from site like
Dynamicdrive.com (no affiliation just an avid user) and one can easily
create a control that will take the output from above and dump it into the
js array format required by almost any of them.

At least that's a first thought. Comments, critiques, identification of
major gaps in logic greatly appreciated.

-JP


-Original Message-
From: Christophe Lombart [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 11:36 AM
To: Jetspeed Users List
Subject: Re: Cascading Menus from PSML


Cascading menu with plenty of javascript  DHTML ?
I'm intesting to build one for my project but it is not plannified for
this month :-)

Anyway, If you can work without the customizer in this case, it is not
so complex to build your own, if you know javascript-DHTML, the PSML
structure and the mechanism used for jetspeed controls  controllers.
Obviously, customizer for this kind of menu will require more time. Do
you have time ?

Let me know in which area you require more info, I can try to help

Christophe

Jonathan Porterfield wrote:

Yusuf,

No response from the list on this one yet. Probably what we need is some
orientation on where to grab this from the context.

Cheers
-J

-Original Message-
From: Yusuf Isaacs [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 2:09 AM
To: [EMAIL PROTECTED]
Subject: Cascading Menus from PSML


Hi

Have you managed to incorporate cascading menus for a particular
user PSML ? , if so could you point me in the right direction as I am
struggling with the same problem

thanks
Yusuf



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



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



RE: Cascading Menus from PSML

2003-09-18 Thread Jonathan Porterfield
Yusuf,

No response from the list on this one yet. Probably what we need is some
orientation on where to grab this from the context.

Cheers
-J

-Original Message-
From: Yusuf Isaacs [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 2:09 AM
To: [EMAIL PROTECTED]
Subject: Cascading Menus from PSML


Hi

Have you managed to incorporate cascading menus for a particular
user PSML ? , if so could you point me in the right direction as I am
struggling with the same problem

thanks
Yusuf



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



Re: Cascading Menus from PSML

2003-09-18 Thread Christophe Lombart
Cascading menu with plenty of javascript  DHTML ?
I'm intesting to build one for my project but it is not plannified for 
this month :-)

Anyway, If you can work without the customizer in this case, it is not 
so complex to build your own, if you know javascript-DHTML, the PSML 
structure and the mechanism used for jetspeed controls  controllers. 
Obviously, customizer for this kind of menu will require more time. Do 
you have time ?

Let me know in which area you require more info, I can try to help

Christophe

Jonathan Porterfield wrote:

Yusuf,

No response from the list on this one yet. Probably what we need is some
orientation on where to grab this from the context.
Cheers
-J
-Original Message-
From: Yusuf Isaacs [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 2:09 AM
To: [EMAIL PROTECTED]
Subject: Cascading Menus from PSML
Hi

Have you managed to incorporate cascading menus for a particular
user PSML ? , if so could you point me in the right direction as I am
struggling with the same problem
thanks
Yusuf


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


Cascading Menus from PSML

2003-09-07 Thread Jonathan Porterfield
Jetspeeders,

I'm trying to generate some global DHTML menus for my site based on the
current user's PSML.

I've been looking at the VelocityPortletSetControl but it looks like that
only will return the tabs from the current level, and for portlets only
rendered within the current request. I'd like to get the tabs from from
all levels, and and even those that will not be rendered by the current
request.

Anyone already done this? If so, do you mind sharing? Any help is greatly
appreciated.

Cheers
JP



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