The LZX Reference defines the behavior of all XML tags and JavaScript APIs in the LZX language. See the bottom of this page for links to other documentation and sources of information about building and deploying OpenLaszlo applications.
By default, most of the examples in this reference are "live" and editable. The best way to learn to use these classes is to play with them. Simply click on the "edit" button to see how this works.
The live examples do make the documentation slower to load. If you would like to use the documentation without the running examples, use the "file" rather than "http" protocol to view the documentation (html) files. In a typical OpenLaszlo Server installation, for example, the path might be:
file:///$WEBAPP/WEB-INF/lps/docs/lzx-reference/animator.htmlwhere $WEBBAPP corresponds to your web application sever.
You can also turn the live examples off by clicking here.
The live examples are currently off. You can turn them on by clicking here.
Here is a brief summary of the categories of classes as they appear on the navigation panel on the left.
These elements structure the code within an application, allowing you to break it into multiple files or to define custom elements.
These are the elements that place a view on the canvas. A view controls the presentation of media and data, and responds to user events.
These are user-interface components in the OpenLaszlo components library. These tags can be used to build to web applications. See the Components Hierarchy for an interactive guide to these classes.
An application can include the entire set of OpenLaszlo components by including the line <include href="lz"/>. An application can include individual OpenLaszlo components by including just the files that define those components.
These elements determine the position of views within a parent view.
These elements change the values of another element's attributes over time.
These classes allow you to control the processing of user events, and to post application events.
This seciont contains tags that mark up HTML text. These tags may be used within a
<text> element, tags that extend this
tag, and tags whose definition includes a definition for
<attribute name="text" type="html"/>. (See the
documentation on Text Classes
for more information about this last category.)
These are elements that import media objects into an application and control their use.
The data elements and classes are for requesting data from a server and binding it to views.
JavaScript APIs.
Visual states and behaviors can be attached to and removed from an object over the course of an execution.
Base classes are designed to be extended. The classes in the Components section extend these.
These elements are for creating menus and menu bars, and processing commands.
A source for datasets that are shared across multiple clients.
Elements and APIs that are used during development, for debugging and testing.
Copyright © 2002-2005 Laszlo Systems, Inc. All Rights Reserved. Unauthorized use, duplication or distribution is strictly prohibited. This is the proprietary information of Laszlo Systems, Inc. Use is subject to license terms.