My Menu
customize

Examples
Examples Home
Portal
my Portal
my Portal Settings
my Menu Settings
Tabs (choosen pages)
Tabs (Summaries)
Rss Channels

Documentation
Home
Live Examples (new)
Quick overview
Tutorial
Tutorial Live Examples
Download
Installation
User Guide
Javadoc

Preferences
my Portal Settings
my Menu Settings
my Layout Settings

Tag Library Reference
Tiles Tags

Printer Versions
Quick Overview
Tutorial
User Guide
Overview (old)

Admin
Reload

Portal
  • A portal is built by assembling Tiles in columns.
  • A special layout exists to do such think.
  • This page is an example of a portal.
  • To realize your portal, you specify which Tiles you want to be render in which columns. This is done in centralized definition file or in <insert> tag.
  • Other portal example

User Customized Portal
(my Portal)
  • A portal can be customized by user.
  • To do so, build a portal, and add it a "controller" checking and setting user choosen Tiles.
  • You also need to provide a page allowing user to choose and arrange its own Tiles.
  • You can use provided example, or improve it to meet your need.

Rss Channels
  • This example shows how to do a Rss Channels Tile.
  • The Tile is made of a controller loading the requested rss channels, and a view (jsp page) rendering the loaded channels.
  • It is possible to change the rendering page to adapt it to your need.
  • Channels URLs are set in config files, or as http request parameters.

User Customized Layout (Skins)
  • It is possible to change the main layout used by one site
  • Each layout shows the site in a differnent L&F

Administration
  • Some administration facilities are provided.
  • It is possible to reload definitions configuration files without restarting the web server.
  • Also, it is possible to view definitions loaded and resolved by the factory.
  • This facilities are used during development. They should be removed or protected with a password if used in a production environment.

Reuse Tiles
  • A tile can be used several time in a same page
  • For example, you can have a Tile rendering an address, and use it to render as well shipping and billing addresses
  • new examples not yet available, see tutorial in meantime

Menu
  • Build easily menus by specifying entries (or items) to be rendered, and layout used to render them.
  • A menu entry can contains text, link, icon, tooltip, ...
  • Menu layout renders each entry according to properties set.
  • menu is inserted anywhere with the tag <tiles:insert name="menuName">
  • It is possible to change all menus look and feel simply by changing menu layout. No need to change already defined entries.
  • All menus in this site are build using entries and menu layout.

User Customized Menu
(my Menu)
  • It is possible to allow user to customize its own menu.
  • User menu settings are stored in user session as a list of menu entries.
  • The same layout as other menus is used, but the list is provided by an associated "controller".
  • You also need to provide a page allowing user to choose and arrange its own menu entries.
  • You can use provided example, or improve it to meet your need.

Tabs Layout
  • You can easily build tabs by using predefined "tabs layout".
  • All you need to do is to specify which bodies you want to render in tabs.
  • You can also associate name, icon and tooltip to tab index.
  • Using provided example, you can easily customize the tabs layout rendering.

Internationalization (i18n)
  • Tiles provide some facilities for i18n
  • It is possible to load a different Tile according to the user Locale setting
  • Tiles have the same definition name, but different definition attributes.
  • Definitions are defined in separate configuration files, one for each locale. Appropriate file is loaded using the same rules as for Java properties : configuration file name is extended with locale abreviations
  • new examples not yet available, see tutorial in meantime

Multi Channels
  • Tiles provide some facilities for "multi channels"
  • It is possible to define different Tiles for different channels.
  • Appropriate Tile is loaded according to channel key store somewhere (usually associated to current user)
  • Examples of channels : [html, wml, ...] or [gold, silver, bronze, ...]
  • new examples not yet available, see tutorial in meantime


Copyright © 2001, Apache Software Foundation
and Cedric Dumoulin