01-19-05 12:48 PM
Alex wrote:
> Hi,
> anybody knows -
> 1. How to determine current portal page ID or unique name (where portlet i
s
> installed)? Is there any API?
You have to use the ModelAPI:
import com.ibm.portal.*;
import com.ibm.portal.navigation.*;
import com.ibm.wps.model.ModelUtil;
ModelUtil util = ModelUtil.from(request)
NavigationNode node =
(NavigationNode)util.getNavigationSelectionModel().getSelectedNode();
String id = node.getContentNode().getObjectID().toString();
String uniquename = node.getContentNode().getObjectID().getUniqueName()
> 2. How to create a link (within portlet/jsp) to other portal page?
Which version of WebSphere Portal are you using?
>
> Thank you for any ideas.
>
>
>
>
[ Post a follow-up to this message ]
|