getting page name in portlet - Websphere

This is a discussion on getting page name in portlet - Websphere ; i am newbie in portlet development , need to know way to get page name in the portlet that hosted it . thanks in advance...

+ Reply to Thread
Results 1 to 3 of 3

Thread: getting page name in portlet

  1. getting page name in portlet

    i am newbie in portlet development , need to know way to get page name in the portlet that hosted it .
    thanks in advance

  2. Re: getting page name in portlet

    I assume you want this inside a JSP. Following code will give u the currently selected page.

    <%
    String selectedNode = null;
    %>


    <%
    if (wpsSelectionModel.isNodeSelected(wpsNavNode)) {
    selectedNode = wpsNavNode.toString();
    }
    %>




  3. Re: getting page name in portlet

    thanks a lot issue resolved with above code.

+ Reply to Thread