Page History
...
...
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.
| Info |
|---|
| Never modify these shipped layouts. If you wish to create a variation, create a copy and change the copy. |
レイアウト・ウェブレットは、全てのHTMLページに必要となる基本的なHTMLページ構造(ヘッダー、タイトル、本文など)を提供します。また、全てのWebroutineで必要な標準リソース(スクリプト、スタイル、非表示フィールドなど)や、Webページで共通に使用される標準レイアウト要素(ヘッダー、フッター、コンテンツ・エリア、サイドバーなど)も提供します。
レイアウト・ウェブレットはWAMレイアウトのベースとなります。レイアウト・ ウェブレットはWAMもしくはウェブ・アプリケーションの共通インターフェースを提供します。通常レイアウトにメニュー、配色、メッセージ操作、イメージ、ロゴ、トレードマーク情報などを導入することで、一貫性のとれたアプリケーションの外観を保つことができます。
デフォルト値では、WAMは全ての生成Webroutineで1つのWAMレイアウトを使用します。共通のレイアウト機能を共有するには、同じサイト・レイアウトをアプリケーション全体で使用するか(詳細は「独自のサイト・レイアウトの作成方法」を参照)、またはWAMレイアウトを共通レイアウト・ウェブレットのベースにします。生成されたWAMレイアウトは、独自のサイト・レイアウトまたは共通レイアウト・ウェブレットからの共通の機能を共有し、特定の要求に合わせてカスタマイズすることができます。詳しい情報については、「WAMレイアウトとレイアウト・ウェブレット」を参照してください。
レイアウト・ウェブレットのグループには、LANSAにより提供される標準レイアウト・ウェブレットが含まれています。WAMレイアウト、つまり<WAM名>_layoutという命名規則に従って命名されたものは、デフォルト値ではWAMレイアウトという別のグループに含まれます。
| Info |
|---|
提供されているレイアウトは絶対に修正しないでください。カスタマイズしたい場合は、コピーをし、そのコピーを修正するようにしてください。 |
ウェブレット名 | 説明 |
|---|---|
Weblet name
Description
Webroutineページの基本的なjQueryテーマのレイアウトです。各レイアウトには1つ、2つ、または3つのコンテンツ・エリアがあります。 std_themelet1_ |
1colがデフォルト値のレイアウトです。 |
A simple blank layout with no layout/css.
レイアウトやCSSのない、単純なブランクのレイアウトです。 |
ヘッダーとフッターがあり、メニューはない基本レイアウトです。 この各基本レイアウトがWebroutineページに異なる外観を提供します。 |