Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Navigation Customization Guide

tlaukkan edited this page Dec 7, 2014 · 7 revisions

This guide describes how to change navigation hierarchy. Default navigation containing base site functionality is provided by:

You can either write your own content provider or modify the default navigation in main class or your own version of UI class.

You can add new pages to navigation hierarchy as follows:

Ilves.addRootPage(0, "custom", DefaultValoView.class);
Ilves.setPageComponent("custom", Slot.CONTENT, WelcomeComponent.class);
Ilves.setPageComponent("custom", Slot.FOOTER, CommentingComponent.class);
Ilves.setDefaultPage("custom");