(Quick Reference)
nav:setActivePath
Purpose
You can call this tag from inside a controller or GSP if you need to "fudge" the current request's activation path. This is only necessary if there is no controller/action available on the current request, or if you need to simulate navigation while ignoring the real current activation path.
You may need to do this inside an error.gsp for example.
Example
<html>
<body>
<nav:setActivePath path="app/support/error"/> <nav:primary/>
<nav:secondary/> <p>Something went wrong!</p>
</body>
</html>
Attributes
Name | Purpose |
---|
path | Required - activation path to use |