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.  Make sure you have the iiiFirstWAM (where iii are your initials) open in the LANSA Editor.

2.  Click on the dialog box launcher in the Compile group on the ribbon to display the Compile options dialog:

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.

     These options will be retained for future compiles.

4.  Click OK to compile the WAM. The status of the compile is displayed in the Compile tab:

     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.