Reference > OpenLaszlo API > attachment
OpenLaszlo API
The OpenLaszlo source (LZX) files for the Management Center are located within...
WEB-INF/src/lzx...within the LOBTools Web module. These files are compiled into a SWF (Flash) file that is the binary representation of the Management Center. There are two groups of LZX files:
- restricted
- customizable
- Restricted files
- A restricted file is located under a restricted directory. There is one restricted directory for each Management Center tool (that is, under the catalog, promotions, or marketing directories) and one for the Management Center framework (under the foundation directory).
For example...
LOBTools/WebContent/WEB-INF/src/lzx/commerce/foundation/restricted/LangUtil.lzx...indicates that the LangUitl.lzx file is a restricted file for the Management Center framework. Restricted files contain class definitions for the basic functionality that is common to all tools within the Management Center.
Do not change these files when customizing the Management Center. Files within the restricted directories will be replaced when you install WebSphere Commerce fixes, or migrate to the next release.
- Although a file is restricted, you can use or extend the classes within the file when customizing the Management Center as they are part of the Management Center OpenLaszlo APIs. The classes that you can use are documented as part of the API documentation within this information center. All other classes defined within the restricted directories are marked private to indicate that they are for IBM internal use only.
- Customizable files
- Customizable files are not contained within a restricted directory. For example...
LOBTools/WebContent/WEB-INF/src/lzx/commerce/shell/ToolBannerArea.lzx...is not a restricted file and is therefore, customizable.
- Customizable files describe the objects within a Management Center tool and how to display them. You can use, extend, or change the classes within customizable files when customizing the Management Center. When you install WebSphere Commerce fixes, or migrate to the next release, the customization will be maintained in these files.