Antun’s Blog

Notes on OpenLaszlo, LZX and Rich Internet Application Development

Antun’s Blog header image 2

View Source Code

August 15th, 2007 · No Comments

It’s always handy to take a peek at the source code for a class you’re using, to see how it works. Of course, every attribute, method and event should be documented in detail, but sometimes they’re not, and you need access to the source code. With OpenLaszlo Lz components (e.g. button, edittext, etc.), that’s pretty straightforward. You just look at your local developer install of OpenLaszlo, under lps/components/lz/….

With Laszlo Foundation Classes, such as view, the source code is not present in the developer distribution. So unless you have an OpenLaszlo build environment, you won’t find it in your file system.

All is not lost, however, since the OpenLaszlo project uses Subversion for source control. That means that you can browse the source code via the web interface:

http://svn.openlaszlo.org/openlaszlo/

The very latest view code (from trunk) is located here. And the view code from OpenLaszlo 3.4 is located here. The Laszlo Foundation Class code is generally found in WEB-INF/lps/lfc/… of that particular version.

Tags: LZX Tips · OpenLaszlo

0 responses so far ↓

  • There are no comments yet...Kick things off by filling out the form below.

Leave a Comment

Need to post code in a comment? Read this first!