KrailOrg / krail

Rapid web app framework using Vaadin 8 integrated with Guice and Shiro
50 stars 19 forks source link

Processing @View annotation hides pages from navigation #745

Open davidsowerby opened 6 years ago

davidsowerby commented 6 years ago

A value of MasterSitemapNode.positionIndex = -1 causes a page to be ignored by navigation components (intended behaviour - sometimes things like Login / Logout pages should not be in the navigation structure)

The way the DefaultAnnotationSitemapLoader works means that a page defined, for example, as:

finance/local/purchasing

will have the 'finance' and 'local' pages defaulting to MasterSitemapNode.positionIndex = -1 - so they don't appear anywhere!