WebSphere Portal Server - Websphere Portal: Navigation Loop

This is Interesting: Free IT Magazines  
Home > Archive > WebSphere Portal Server > August 2007 > Websphere Portal: Navigation Loop





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Websphere Portal: Navigation Loop

2007-08-04, 7:22 pm

My requirement is that: I need to display the child of a particular node(Upto any level)in Websphere portal on mouseover.
At present I am able to do it but onclick of the expansion and collapse buttons.I need to change this to "onmouseover" event.

he JSPF file attached is the file which is doing the navigation.

In the file the following portion does the expand and collapse part/
This is happening onclick upon the "Plus" and Minus images.
I want to do it on mouseover on those images

c-rt:choose>
<c-rt:when test="<%=nodeHasChildren && isExpanded %>">
<c:set var="url1"><portal-navigation:navigationUrl type="collapse"/></c:set>
<c:set var="url2"><portal-navigation:navigationUrl type="collapse"/></c:set>

<a href='<portal-navigation:navigationUrl type="collapse"/>'><img alt="<portal-fmt:text key='link.collapse' bundle='nls.engine'/>" title="<portal-fmt:text key='link.collapse' bundle='nls.engine'/>" class="wpsNavIcon" src="/images/other-staff/sideN
av/minus.gif"
></a>


</c-rt:when>
<c-rt:when test="<%=nodeHasChildren && !isExpanded %>">
<% j++; %>

<a href='<portal-navigation:navigationUrl type="expand"/>'><img alt="<portal-fmt:text key='link.expand' bundle='nls.engine'/>" title="<portal-fmt:text key='link.expand' bundle='nls.engine'/>" class="wpsNavIcon" src="/images/other-staff/sideNav/plus.gif"

></a>


</c-rt:when>
<c-rt:otherwise>
<img alt="" class="wpsNavIcon" src="<%=wpsBaseURL%>/images/dot.gif" />
</c-rt:otherwise>
</c-rt:choose>

Michael Harris

2007-08-07, 1:21 am

Basically, you want the equivalent of DHTML popup menus.

To implement them, you cannot use the navigation tags. They will only
give you information about the currently expanded nodes. You need to
use the Model API instead. (Note that should you desire to do it, you
can use the navigation tags to get to the current page level and then
combine it with the Model API to get all children of the current page
whether expanded or not.) Search the InfoCenter for information about
the Model API.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com