Quick search:


What is a part of a page

A piece of the html of a page. Also the method or skin that produces it or the object that controls it.

The classes of these objects are subclasses of PntPagePart. The abstract superclasses of the parts of the default user interface are in the pnt/web/parts classFolder, click here for an overview with short descriptions.

Composing pages from parts is an important reuse mechanism of the user-interfacing framework. The printing of a part is initiated by calling the printPart method in the current page, part object or skin. This will include a part (controller) class if it exists, instantiate it and call printBody on it. The part on its turn will probably include a skin (view) of its own. More parts may be included recursively from there, ore directly by the printBody method of the part.

The default parts can be specialized. For finding out the composition of a page and specializing its parts, see how to specialize a part of a page.

Special kind of parts are form widgets. They produce the widgets in EditDetailsPages. They are printed by calling printFormWidget.
The abstract superclasses of the form widgets of the default user interface are in the pnt/web/widgets classFolder, click here for an overview with short descriptions.