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 Ching Chen <CC...@teleias.com> on 2003/06/16 16:06:54 UTC
Links to a nested menu - Was RE: Links to nested panes
How about a nested menu instead of a nested pane? I use the getPaneById from
JetspeedLink class, but passing the
parameter format ("pane_id,menu_id") did not work for me. Any ideas?
Thanks!
Ching
-----Original Message-----
From: David Sean Taylor [mailto:david@bluesunrise.com]
Sent: Wednesday, April 09, 2003 11:38 AM
To: Jetspeed Users List
Subject: Re: Links to nested panes
On Wednesday, April 9, 2003, at 04:22 AM, 4jmlists@snafu.de wrote:
> Dober dan Matija,
>
> seems that noone has answered yet?
>
> I have asked my colleague who was surprised since we considered a
> subscription
> feature for the future.
>
> I have today tested all this with Jetspeed 1.4-b3. Indeed the access
> to sub-
> panes does not work directly using the sub-level pane's URL. It works
> only to
> jump to menu panes within the first level.
>
> What you have to do is to combine the two levels' URLs.
>
> Example:
>
> Level 1: (RSS)
> http://www.bluesunrise.com/jetspeed/portal/media-
> type/html/language/en/user/anon/page/default.psml/js_pane/107
>
> Level 2: (Mozilla News)
> http://www.bluesunrise.com/jetspeed/portal/media-
> type/html/language/en/user/anon/page/default.psml/js_pane/111
>
> The direct link would be:
> http://www.bluesunrise.com/jetspeed/portal/media-
> type/html/language/en/user/anon/page/default.psml/js_pane/107%2C111
>
> WAHOOO! :-)
>
> Best wishes, Tino
You can encode this link with the jslink tool:
jslink.getPaneById("Pane_3,SubPane_17")
To make sure that your ids don't change with every run of Jetspeed,
make sure to give the panes ids in the PSML file:
<portlets id="Pane_3">
--
David Sean Taylor
Bluesunrise Software
david@bluesunrise.com
+01 707 773-4646
---------------------------------------------------------------------
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