Websphere Portal: Navigation Loop
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 > Websphere Portal: Navigation Loop




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

    Websphere Portal: Navigation Loop  


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


 
08-05-07 12:22 AM

My requirement is that: I need to display the child of a particular node(Upt
o any level)in Websphere portal on mouseover.
At present I am able to do it but onclick of the expansion and collapse butt
ons.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="<port
al-fmt:text key='link.collapse' bundle='nls.engine'/>" title="<portal-fmt:te
xt key='link.collapse' bundle='nls.engine'/>" class="wpsNavIcon" src="/image
s/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 k
ey='link.expand' bundle='nls.engine'/>" class="wpsNavIcon" src="/images/othe
r-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>






[ Post a follow-up to this message ]



    Re: Websphere Portal: Navigation Loop  
Michael Harris


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


 
08-07-07 06: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.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:10 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