Skip to Content
author's profile photo Former Member
Former Member

Capture the Node clicked / selected in Toplevel navigation

HI

How to capture the node that is clicked by user in the generated toplevel navigation from the taglib.

I need to pass the TAB/MENU name selected by user to another JSP using session or request object.


<nav:iterateInitialNavNodes>
       <li class='Level1'><nav:navNodeAnchor navigationMethod="byURL" />
        <%-- check to see if there are level 2 nodes, if so start another <ul> and assign a CSS class --%>
        <nav:ifNavNodeHasChildren>
            <ul>
            <%-- again go through all the nodes in level 2 --%>
            <nav:iterateNavNodeChildren>
       <%-- id l1 is written for second level hover and to set its css properties --%>
                <li class='Level2' id='l1'><nav:navNodeAnchor navigationMethod="byURL" /></li>

            </nav:iterateNavNodeChildren>
            </ul>
        </nav:ifNavNodeHasChildren>
        </li>
    </nav:iterateInitialNavNodes>

Suggestions appreciated.

Thanks in advance.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 24, 2009 at 08:35 PM

    Hi ,

    I got the answer, I am closing this.

    Its very simple , the FPN is implemented , the URL of the portal will be appended with "Short Cut" or "Navigation Parameter" with

     NavigationTarget

    and

    NavigationTarget=navurl://abd78e32mkf233nm892

    What we need to do is, in the JSP, read this as

     request.getParameter("NavigationTarget")

    and check whether the user hit the same TAB in the DLN menu with

     navurl://

    and write the logic as we need.

    Thanks for all.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.