Screen Navigation Framework

The Screen Navigation Framework is for customizing and extending application UIs. You can use it to make Liferay’s applications your own and to make your applications customizable by others.

To make this work, the framework assumes a specific structure for screens and supports one or two levels of navigation. Each item in the top level navigation is a ScreenNavigationCategory. Each item in the second level is a ScreenNavigationEntry. Categories are usually represented by tabs, while entries use a second level of navigation. You need not have any Entries in your application, but you must have at least one Category.

Figure 1: A typical application using screen navigation has three categories and numerous entries.

Figure 1: A typical application using screen navigation has three categories and numerous entries.

The Screen structure normally renders Navigation Categories as horizontal tabs at the top of the page and Navigation Entries as a vertical list of items along the left side of the page. The screen box containing the content uses the rest of the screen. You can customize this default layout for your needs.

Secondary navigation is optional; you may only need category tabs with no additional navigation.

Figure 2: Secondary navigation is optional; you may opt to have only tabs.

Figure 2: Secondary navigation is optional; you may opt to have only tabs.

« Recommendations and Best PracticesUsing the Framework for Your Application »
この記事は役に立ちましたか?
0人中0人がこの記事が役に立ったと言っています