XactCommerce Xact Objects
Home
News
XactCommerce
Typical Applications
Custom Development
Private Backend
XactScript Language
Performance
Deployment
Partners
Portfolio
About Us
leXml Language < Tags < leXml Tag Reference: Load

The <_load> tag is used to load instances of interface modules. (See Writing Interface Modules for a discussion of interface module semantics)

Body of the <_load> tag:

    None

Attributes of the <_load> tag:

    name=<name of this instance> (Required)
    The name attribute sets the name that this instance of this interface module will be referred to with for the remainder of this document. This is entirely arbitrary, although two modules can't have the same name for obvious reasons.

    class=<Java class> (Required)
    The class attribute is the full name of the Java class representing this interface module. If the class does not implement LeXmlHTMLInterfaceModule then you will receive an error if you attempt to load it (e.g. you could not load java.lang.String).

    database=<database name> (Optional)
    This is the name of the database connection to be supplied to the interface module. This attribute will be deprecated soon and replaced with the Module Services architecture.

Examples of the <_load> tag:

    <_load name="instance"
    class="com.xactsys.lexml.ifmodules.If_InterfaceModule"/>



    <_load name="util" class="com.xactsys.lexml.ifmodules.If_Utils"/>



    <load name="iteminfo" class="com.xactsys.acctapp.if_lexml.If_ItemDetail" database="widgetsinc"/>