8 4 Layout Weblets

LANSA WAM

8.4 Layout Weblets

8.4.1 QuickStart - Standard Layouts

Layout weblets provide the basic HTML page structure (head, title, body, etc.) needed by all HTML pages. They also provide standard resources required by all webroutines (scripts, styles, hidden fields, etc.) and standard layout elements commonly used on web pages (headers, footers, content areas, sidebars, etc.)

Layout weblets are the base of WAM layouts. They provide a common interface across a WAM or even a complete web application. Typically layouts provide a consistent look and feel to the application by implementing menus, color schemes, message handling, images, logos, trademark information etc.

By default a WAM will use a single WAM layout across all generated webroutines. To share common layout features you can either use the same site layout (refer to How do I Create my Own Site Layout? for further information) for your whole application or base your WAM layouts on a common layout weblet. The generated WAM layout will share the common layout features from your site layout or common layout weblet and may then be customized for specific WAM requirements. Refer to WAM Layouts and Layout Weblets for further information.

The Layout Weblet group includes the standard layout weblets shipped with LANSA. WAM Layouts, which follow the naming convention <WAMname>_layout, will, by default, be included in a different group, WAM Layouts.

Never modify these shipped layouts. If you wish to create a variation, create a copy and change the copy.

Weblet name

Description

Standard Theme Layouts (std_themelet1_[1-3]col)

Basic jQuery themed layouts for your Webroutine pages. Each layout has 1, 2 or 3 content areas.
std_themelet1_1col is the default layout.

Standard Blank Layout (std_blank_layout)

A simple blank layout with no layout/css.

Standard Basic Layout (std_layout_V2 and std_layout[1-5]_v2)

A basic layout with header and footer, but no menus.
and
basic layouts, each providing a different appearance for your Webroutine pages.