October 12, 2004

Flashy Things

There was some excitement recently around flashy thing called Laszlo Presentation Server (or LPS), which was open sourced under CPL. For those who have not heard, LPS can generate rich client UI from the LZX language. LZX has XML format, and Laszlo currently targets Macromedia Flash as its output.

Naturally, one would want to integrate this piece of technology into Cocoon (every other thing was already integrated anyway), and some even suggested bounty :-)

So not to be outdone, here is first cut at it. To integrate this Laszlo block with your Cocoon 2.1 checkout, follow these simple steps:

  • Unzip into cocoon-2.1/src/blocks directory
  • Apply gump.diff to cocoon-2.1/gump.xml
  • Build
  • Move cocoon-2.1/build/webapp/samples/blocks/laszlo/lps to cocoon-2.1/build/webapp/lps
  • Run
  • View samples

Known issues with this integration attempt:

  • c.l.s.LPS hardcodes paths to context://WEB-INF/lps and context://lps, hence need to move lps stuff to the context root
  • All LPS operations are file based, hence temp file creation
  • File path resolution for included files is not working yet

Send patches!

Posted by Vadim at October 12, 2004 11:37 AM