Navigation Tags


This library provides display tags for navigation use.

Display tags need data tags to provide them with content to display since they only contain the logic for formatting and generating HTML. The actual content is provided with data tags.

Every display tag has a mechanism to consume data tags. The most straight-forward way is via an attribute that takes an identifier (ID) that every Data Tag needs to declare.

Some of these tags have a scope argument. The valid values for the scope argument are "tag", "portlet request", "http request", "session", "persistent session", "application". These values are not case-sensitive, although it is considered a best practice to use all lower case.

The display tags in the Navigation tag library (plugnav) require PTURL DO data found in the Data Tag library (ptdata).

See the Data tag library (ptdata) for definitions of the different types of data.

Tag Library Information
Nameplugnav
Version1.0
 

Tag Summary
ddmenurowcontainerThis tag displays rows of menu tabs. Menu tabs have fixed size and are wrapped to additional rows if there are too many tabs to fit in the browser window.

This tag generates HTML and sets up the necessary javascript for the JSPortal DHTML dropdown menu framework.

It manages the display and positioning of menu tabs, which activate dropdown menus, within the HTML it is located in. To add menu tabs, define ddmenutabs (dropdown menus) or ddmenusimpletabs (just a menu button) with an ID and use that ID in the menuvar attribute.

This tag is a display tag which only accepts ddmenutab, ddmenusimpletabs (both are available in this library) or equivalent data tags as data.

ddmenusimpletabsData tag for ddmenurowcontainertag to display a list of simple tabs for the set of provided data.

A simple tab is a menu button that looks the same as dropdown menu tabs but instead of opening a dropdown menu on mouse-click, navigates to an URL specified by PTURL DO data.

This tag is also a type of data tag in itself, even though it consumes other data tags. The data set by this tag is very specialized, unlike the Data tags (ptdata) which are general, and it is only meant to be used with the ddmenurowcontainer display tag or a tag that is functionally very similar to it.

As a data tag, this tag does not do display anything; it must be used in conjunction with a display tag.

ddmenutabThis is a data tag for ddmenurowcontainertag to display a tab that activates a dropdown menu with entries provided by PTURL DO data.

This tag is also a type of data tag in itself, even though it consumes other data tags. The data set by this tag is very specialized, unlike the Data tags (ptdata) which are general, and is only only meant to be used with the ddmenurowcontainer display tag or a tag that is functionally very similar to it.

As a data tag, this tag does not do anything useful by itself; it must be used in conjunction with a display tag.

horizontalrowcontainermenuThis tag generates HTML for dynamic horizontal menus - where the content of a menu is displayed in a row shared by multiple tabs.

In addition to generating the HTML for the tabs, it also defines necessary javascript functions that are shared between multiple instances of this tag. Customization of the generated tabs, such as custom stylesheets and images, are supported through attributes.

This tag is a display tag which only accepts horizontalrowtab or equivalent data tags as data.

horizontalrowtabThis tag defines a horizontal menu tab that activates on mouse-click and displays a row of links, which are provided by PTURL DO data tags through the datavar attribute.

The HTML generated around and for each link in the row of links associated with this tab can be customized by defining completely new HTML for each link in the body of this tag.

This tag is also a type of data tag in itself, even though it consumes other data tags. The data set by this tag is very specialized, unlike the Data tags (ptdata) which are general, and only meant to be used with the horizontalrowcontainermenu display tag or a tag that is functionally very similar to it.

As a data tag, this tag does not do anything useful by itself; it must be used in conjunction with a display tag.

 


Java, JSP, and JavaServer Pages are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries. Copyright 2002-3 Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054, U.S.A. All Rights Reserved.