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.
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 secion contains tags that mark up HTML text. These tags may be used within a
<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.