Nodes links in banner
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > Nodes links in banner




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Nodes links in banner  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
01-09-07 06:57 AM

Hi,


I am trying to show some of the nodes as hyperlinks with code like this.

<wps:if navigationAvailable="yes" screen="Home,LoggedIn,LoggedOut,ErrorNotAu
thorized">
<wps:navigation>
<wps:navigationLoop>
<%
String rowCssClass;

if (wpsSelectionModel.isNodeSelected(wpsNavNode))
rowCssClass = "wpsNavSelectedNode";
else
rowCssClass = "wpsNavUnSelectedNode";

String selectURL = null;
if (wpsNavNode.getContentNode() != null){

if (! com.ibm.portal.content.ContentNodeType.LABEL.equals(wpsNavNode.getCont
entNode().getContentNodeType())) {
selectURL = wpsNavModelUtil.createSelectionChangeURL(wpsNavNode);
}
}
String nodeTitle = com.ibm.wps.model.LocaleHelper.getTitle((com.ibm.portal.L
ocalized)wpsNavNode, request);
if (selectURL != null) { %>
<a class="<%= rowCssClass %>" href="<%=selectURL%>" <% if (com.ibm.portal.co
ntent.ContentNodeType.EXTERNALURL.equals(wpsNavNode.getContentNode().getCont
entNodeType())) {%>target="_blank"<% } %> >
<% } %>
<span class="wpsNavLevel<%=wpsNavLevel%>"><%= nodeTitle %></span>
<% if (selectURL != null) { %>
</a>
<% } %>

</wps:navigationLoop>
</wps:navigation>

When I add a portlet to one of these hyperlinks - they are actually pages - 
and click it
the same page also appears as part of the main theme below.

I have created a new JSP with this code and included it in Default.jsp so th
at these links
appear above in the banner.

Is there any way to make these links works like they do if they were part of
 the main UI ?
Hope my question is clear.


Thanks,
Mohan





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 01:04 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register