OpenLaszlo DHTML with SOLO deployment

OpenLaszlo 4.0 has decent DHTML generation. If you are using the command-line compiler for making SOLO deployed material, however, it is not completely obvious what to do.

Specifically, if you compile a source file such as example.lzx:

lzc –runtime=dhtml basic.lzx

You get a “basic.js” file. Tracking down what to do with this file is another matter.

In the tomcat servlet thingie for OpenLaszlo, there is a SOLO Deploy Wizard for DHTML, buried in:

openlaszlo/trunk/lps/admin/solo-dhtml-deploy.jsp

This will take basic.lzx and give you everything you need to wrap it up (including javascript libraries, all the little icons needed for window decoration, etc.)

You can then take that model and return back to the command-line compiler, wrapping the .js file produced in all this material.

This is all fine, just a little non-obvious to people like myself who just use the command-line compiler, and don’t want to touch the tomcat stuff.

Here’s an example bundle: solo-dhtml-example.zip

Leave a Reply