on 08-06-2012 8:35 PM
I have created a custom Page Layout. In my layout I have an html div where I would like to display the "Name" of the Page object.
I found the tag to display an iView Title, but I cannot find the code to display the Name of the page. Can anyone help?
Thank you!
I found a way to use Java to get the Page Title.
<%
IPortalComponentRequest pcReq = (IPortalComponentRequest)pageContext.getAttribute(javax.servlet.jsp.PageContext.REQUEST);
IPortalNode portalNode = pcReq.getNode().getPortalNode();
NavigationEventsHelperService helperService = (NavigationEventsHelperService) PortalRuntime.getRuntimeResources().getService(NavigationEventsHelperService.KEY);
INavigationNode currNode = helperService.getCurrentLaunchNavNode(pcReq);
String nodeTitle = currNode.getTitle(pcReq.getLocale());
%>
<span class="vbHeader2"><%=nodeTitle%></span>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Joe,
here you can find the Tags references:
http://help.sap.com/saphelp_nw04/helpdata/en/42/efdb279a563ee7e10000000a1553f7/frameset.htm
notice the page title attribute.
regards,
Saar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.