JBoss.orgCommunity Documentation

Chapter 7. Seam Editors

updated
7.1. Visual Page Editor
7.2. Seam Pages Editor
7.2.1. Graphical Mode
7.2.2. Tree Mode
7.2.3. Outline Support for Seam Pages Editor
7.3. Seam Components Editor
7.4. Main Features of Seam Editors
7.4.1. Content Assist
7.4.2. OpenOn
7.4.3. Seam Validation

This chapter tells about Seam Editors and their features.

Visual Page Editor fits perfectly for authoring view Seam pages. The major features of VPE are listed in Main Features of Seam Editors

You can also read more about Visual Page Editor in Visual Page Editor chapter of "Visual Web Tools Reference Guide".

Seam Pages Editor provides a handy way to edit the pages.xml file.

You can edit the pages.xml file in three modes: Graphical, Tree and Source.

Graphical mode provides you with a set of visual tools to organize your project pageflow, exception handling etc.


The Graphical part of the editor has some visual elements. The table below shows graphical representation of the elements and explains their meanings.


Pageflow relations are shown with gray arrows, when you select a relationship the arrow is changed to orange.

On the lefthand side of the Graphical view of Seam Page Editor you can find a toolbar with a set of icons for the most frequently used commands.


Context menus are also available when you click either on an item or a blank space.

A context menu called on a blank space of the diagram provides the following options:

  • Page creates a new page element on the diagram

  • Exception creates a new exception element on the diagram

  • Auto Layout formats the layout of the diagram automatically

  • Select Element calls the Select Element Wizard with a filter to perform a quick search through the pages file

Rightclicking on a <page> element calls a context menu where you can choose the following options if you click on the New menu item:

  • Rule defines a new navigation rule for the element

  • Param adds a <param> tag to the <page> element

When editing components.xml a structured tree editor is available in addition to pure source editing. It has a graphical view (Tree tab) and source (Source tab).


Note:

You can view and edit components.xml and other xml files directly in the Project Explorer and Properties sheet without opening the components.xml editor.


In this chapter you will know what Seam Editors features are and how to work with them.