You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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

2.5 Variables

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:

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?
[ |../../index.htm#lansa/wamengm2_0040.htm]

  • No labels