> -----Original Message-----
> From: Michael Rothrock [mailto:michael@;michaelrothrock.com]
> Sent: Wednesday, October 30, 2002 10:17 AM
> To: Jetspeed Users List
> Subject: Need help with getPaneByName
>
>
> Hello!
>
> I'm becoming a bit frustrated by what should be an easy task: creating a
> link to activate a different pane on a menu pane. Right now, I have two
> panes, Home and Features. I have a Velocity portlet on Home that should
> have a link to Features. I tried the following:
>
> $jslink.getPaneByName("Features")
>
> Which creates a link like so:
>
> http://127.0.0.1:8080/jetspeed/portal/user/anon/page/default.psml/
> js_panenam
> e/Features
>
> Unfortunately, clicking on this just loads the current (home) page.
>
> Looking at the generating link for the menu, I see it references
> the pane by
> ID, which I'd rather not do.
>
> What am I doing wrong?
>
> Env: Jetspeed 1.4b1, Tomcat4, Mac OS X, JRE 1.3
Did you give your PSML entry a name as in :
<portlets id='301' name='Features'>
This works for me, but I've seen a bug where it doesn't correctly highlight
the menu or tab item, however the portlet content displays.
I tried to fix the menu item bug yesterday, but no luck
btw, Have you had any luck running Java 1.4 or J2EE on your Mac?
--
To unsubscribe, e-mail: <mailto:jetspeed-user-unsubscribe@;jakarta.apache.org>
For additional commands, e-mail: <mailto:jetspeed-user-help@;jakarta.apache.org>