Versions Compared

Key

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

[ Image Removed |../../index.htm#lansa/wamengm2_0040.htm]
You are here:

...

The variables weblet – std_variables – is not visualized.

The sole purpose of the std_variables weblet is to define a set of variables with default values. These default values can in turn be referenced in appropriate weblet properties or used in other weblet's XSL source. For variables defined in std_variables to be referenced by other weblets, the referencing weblet must include a specific import of the std_variables.xsl document.

For example, the std_menu_item weblet includes the following statement in the XSL source: Image Removed

Image Added

Further down in the XSL is a reference to a variable $lweb_WAMName (defined in std_variables) to resolve the name of the currently executing WAM at runtime.

Also see

2.5.1 How can I Change the Value of a Shipped Variable?

2.5.2 How can I Create my own Variables?
[ Image Removed |../../index.htm#lansa/wamengm2_0040.htm]