• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

page name in the portlet

 
kamesh aru
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am newbie in portlet development ..need to know way of getting page name in the portlet that has hosted it ?
thanks in advance
 
Vimala Kariappan
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In which Scenario you going to use this portlet page name
 
kamesh aru
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
resolved the issue with following code from another forum

<%
String selectedNode = null;
%>
<wps:navigation startLevel="2">
<wps:navigationLoop>
<%
if (wpsSelectionModel.isNodeSelected(wpsNavNode)) {
selectedNode = wpsNavNode.toString();
}
%>
</wps:navigationLoop>
</wps:navigation>
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic