Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The following images illustrate the URL changes to control the new routing features:







The Views with Routing option generates the following RDMLX sample code:

Where:

     #PRIM_WEB.Router

Acts as the root of the routes tree.

     #PRIM_WEB.Route

Associates a path string to a Visual LANSA web view component. It is displayed when the path string matches with the current URL path component.

The parent property of the #PRIM_WEB.Route class forms a tree of routes where the FullPath of a route is derived from the FullPath of its parent and the route owns the Path string as highlighted below:



The Link #PRIM_MD.MenuItem class enables a menu item to trigger a change to the URL path component when clicked.

...