Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In order to complete this exercise, you must complete the following:

Review Weblets

Step 1. Create Toolbar Menu Item Weblet

Step 2. Create Toolbar Weblet

Step 3. Complete Definition of Toolbar Menu Item Weblet

Step 4. Setup iii_toolbar_menuitem Properties in iii_toolbar

Step 5. Apply Toolbar Weblet to an Employee Maintenance WAM

Summary

Before You Begin

This exercise does not depend on knowledge gained from all the preceding exercises. It is recommended that the following have been completed:

WAM005 - 最初のWAM作成

WAM010 - WEB_MAPの使用

WAM015 – リストの作業

WAM020 – WAMのナビゲーション

Anchor

...

Weblets

...

Weblets
Weblets

Layouts are a type of Weblet. They allow you to customize the overall look and feel of a web site or web application.

Weblets are also building blocks of your WAM HTML page. They can be categorized into 2 main groups.

  • Primitive Weblets typically have a 1-to-1 relationship with an HTML Tag/Element (eg: Push Button, Checkbox, Combo Box, Anchor, Clickable Image, an Input box, etc)
  • Composite Weblets provide additional functionality combining Javascript, CSS, Primitive Weblets and HTML (eg: Grid, Tabsheets, etc)

...

Parameters can be received by a template by defining <xsl:param name="param_name" /> elements within the template.

Calling XSL Templates

The <xsl:call-template name="layout-form.private"> element is very similar to the EXECUTE command used to call subroutines in LANSA.

Parameters can be passed on the call using this element: 

<xsl:with-param name="param_name" select="param_value"/>

To learn more about XSLT, see httpsee https://www.w3schools.com/xml/xsl/default_intro.asp