Google Web Toolkit 2 Application Development Cookbook
上QQ阅读APP看书,第一时间看更新

Chapter 2. Creating Home Page with Panels and Menus

In this chapter, we will cover:

  • Creating the home page layout class
  • Adding the banner
  • Adding menus
  • Creating the left-hand sidebar
  • Creating the right-hand sidebar
  • Creating the main content panel
  • Creating the footer
  • Using HomePage instance in EntryPoint

Introduction

In this chapter, we will learn about creating the home page of our application. The home page will include a banner at the top, a sidebar for navigation on the left-hand side, another sidebar on the right-hand side for showing dynamic content, a footer to show copyright and other information, and the main content at the center.

The layout will be as shown in the diagram below:

Introduction