dWebSpec Dictionary
CONTEXT: descriptors->navigation-path




All Details Standard Only Platform Only
Structured Web info and helpTechnologies
 Home Page
 Product Page
 Download Page
 Feedback
Javascript Tree Menu

Results for:

 navigation-path 
Prev  Topic  Next

The navigation results could be considered a repository of navigational links used on a page, or accross a project, allowing the assignment of symbolic names to such links. For this the two important attributes are the id and path. The id would be unique globally, and could be used to refer to the URL destinations.

Some frameworks include navigational rules configurations, which could be used to determine destination paths based on page of origin (from page), the preceding action or its result.

This could also be used document page flow.

dWebSpec navigation-path descriptor is designed to capture all these possibilities as well as access security roles and ?request options.

 Struts 1.x  

For the Struts framework, the entries in the navigation-path descriptor would be registered as global paths and navigational rules.

Global Paths

The global path scheme assigns identifiers to global URL as shown below. (The entries involved should be limited the two shown)

NAVIGATION-PATH DESCRIPTORS

id

handler

result

from-page-id

path

security

options

description

error       pages/error.jsp      

These are registered as global forwards in the Struts configuration XML file, As shown below.

  <global-forwards>
  		<forward name="error" path="/pages/error.jsp" />
  </global-forwards>
  

Navigational Rule

The navigational rules provide navigation results for each registered action. The implementation of the navigational rule is demonstrated with the entry in the following descriptor.

NAVIGATION-PATH DESCRIPTORS

id

handler

result

from-page-id

path

security

options

description

list {categoryData} list ! pages/categoryList.html   redirect  

This would result into an entry in the configuration file, as shown below.

nav-path.GIF

There are more discussions on this, under the coverage of the different descriptor attributes.

More details are available in the attributes descriptions id from-page-id handler result path security options description

Prev Next