Step 4 Compile the WAM

LANSA WAM

Step 4. Compile the WAM

WAM005 - Create Your First WAM

In this step, you will learn how to compile the WAM.

1.  You should still have the iiiFirstWAM (where iii are your initials) WAM open in the LANSA Editor.

2.  Compile your first WAM using the Menus button on the main toolbar. Select the Compile option:

3.  On the Compile options dialog, ensure that only the Technology Services, LANSA:XHTML is selected. These tutorials will be generating web applications for the browser only.

     Un-select the Compile only if necessary option. The Compile button will now always compile the WAM.

     These options will be retained for future compiles.

     The compile will generate a browser web page design (XSL) for you.

     The generator performed the following steps:

  • Generated your WAM-specific layout Weblet, called iiiFirstWAM_layout. You can see this in the Repository under Weblets in the Web View.
  • Generated the WebRoutine web page design using the layout iiiFirstWAM_layout.
  • Placed the WebRoutine description as a heading on the web page.
  • Included a messages Weblet on the page.
  • Placed all fields mapped  FOR(*OUTPUT) or FOR(*BOTH) ) and their captions in a table on the web page.
  • Inserted a hidden DIV at the bottom of the page. In the Design view this has the title "Hidden Content" shown. You can add anything that you want to be hidden here and at run time, it will not be displayed on the page regardless of its display mode.