Richard,
What you need to do is change your portlet entry to look like this:
<portlets id="P-fa3f54716a-10000" name=NewPage>
<metainfo>
<description>NewPage</description>
<title>NewPage</title>
</metainfo>
<security-ref parent="owner-only"/>
<layout position="1" size="-1"/>
<entry id="P-fa3f64af11-10001" parent="JMetroStatusForm">
<layout position="-1" size="-1">
<property name="column" value="0"/>
<property name="row" value="0"/>
</layout>
</entry>
</portlets>
When you use js_panename, you need to have the name as an attribute of the
portlet, just having it in the description and title is not enough. Try
this and it should work.
Craig
-----Original Message-----
From: Richard Berger [mailto:[EMAIL PROTECTED]
Sent: Thursday, January 22, 2004 5:39 PM
To: Jetspeed Users List
Subject: js_pane vs. js_panename....
I have a pane with the id P-fa3f54716a-10000and the name NewPage (see
the portlets entry below from the default.psml file). In that case
shouldn't the two URLs be identical? I find that only the first one
(with the id) is valid. Or perhaps I am more fundamentally confused?
Could this be a bug?? (Probably just my confusion)
http://localhost:7001/jetspeed/portal/media-type/html/user/turbine/page/
default.psml/js_pane/P-fa3f54716a-10000
http://localhost:7001/jetspeed/portal/media-type/html/user/turbine/page/
default.psml/js_panename/NewPage
<portlets id="P-fa3f54716a-10000">
<metainfo>
<description>NewPage</description>
<title>NewPage</title>
</metainfo>
<security-ref parent="owner-only"/>
<layout position="1" size="-1"/>
<entry id="P-fa3f64af11-10001" parent="JMetroStatusForm">
<layout position="-1" size="-1">
<property name="column" value="0"/>
<property name="row" value="0"/>
</layout>
</entry>
</portlets>
I am setting up the capability for a DatabaseBrowserPortlet to show more
detailed information in another pane. I have it working, but I have to
use the id rather the name, and I was thinking the name should work.
Thanks for the help!
RB
Twenty Years | One Mission | Accelerating Business Processes
Richard Berger
Action Technologies, Inc.
VP, Product Management
510.748.1017 (Office)
510.769.0596 (Fax)
www.actiontech.com
NOTE: The opinions expressed herein are those of the writer and not
necessarily those of Action Technologies, Inc. or its employees or its
affiliates.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]