Versions Compared

Key

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

...

  • A WAM layout is created using Theme Layout Weblet #1 – One Column by default if a layout is not selected on the Create WAM dialog.
  • If a WAM has not been compiled, if a WebRoutine is opened in the Design View, the web page will be generated using std_themelet1_1col weblet and the fields and lists mapped for output in the WebRoutine.
Note

Note: In this case the web page will not be re-generated when the WAM is compiled unless the Generate XSL All WebRoutines option is selected. There are more details on this subject in later exercises.

  • Once a WAM is compiled, a web page with a WAM specific layout (that you can modify) and field entry controls is generated for each WebRoutine that can be edited in the Design view. You can drag and drop fields and lists marked FOR(*OUTPUT) or FOR(*BOTH) onto your page at any time from the Design view's WebRoutine Output tab.
  • Weblets are reusable XSL snippets or components that can be plugged into either your WebRoutine page or other Weblets. There are standard Weblets that encapsulate HTML buttons, hyperlinks, menu items, radio buttons, dropdown lists, etc.
  • When viewing a list of available Weblets in Weblet Templates view, you will notice a Weblet with a Description of Push button will also have a Details column showing std_button_v2. Std_button_v2.xsl is an XSL document consisting of one or more <xsl:template> element.
  • The Compile options dialog, lets you choose whether or not to re-generate the XSL for existing WebRoutines. By default, a compile will always generate XSL for new WebRoutines ONLY. That is, the web page design for each new WebRoutine is generated automatically.
  • The generated web page includes all fields and LISTS in your WEB_MAPs marked FOR(*OUTPUT) or FOR(*BOTH). Fields mapped with a FOR(*INPUT) keyword, are incoming fields to the WebRoutine. They are not available when creating the web page output by this WebRoutine.
  • The compile generates a WAM-specific layout Weblet. Its name is WAM Identifier followed by _layout (e.g. iiifirst_layout) where iiifirst is the WAM's Identifier.
  • The generated web page also has a Messages (std_messages) Weblet on the page, a WebRoutine description in a heading and a Hidden Content DIV where you may place objects that you do not want to be displayed on the page.

...