Questions tagged [lzx]

LZX (or Laszlo XML) is an XML-based declarative language created as part of the OpenLaszlo rich Internet application platform.

LZX is the declarative user interface language used by the OpenLaszlo rich Internet applications platform, which was created by Laszlo Systems and open sourced in 2004.

LZX consists of a number of predefined tags for UI widgets, data management, application layout and scripting elements (using JavaScript) . LZX supports a class based development with inheritance and offers support for mixins. LZX tags represent components written either in LZX or in JavaScript and ActionScript under the hood. LZX is runtime agnostic, since the OpenLaszlo compiler supports compiling LZX source code into either JavaScript 1.5 (the DHTML/HTML5 runtime) or ActionScript 3 (SWF10/SWF11 runtime).

When compiling an OpenLaszlo application, the LZX code is compiled into an intermediary JavaScript 2 code, and then - depending on the runtime - further compiled into either JavaScript 1.5 (DHTML runtime), or ActionScript 3 (SWF runtime). For the SWF runtime, an embedded version of the Adobe Flex compiler is used to generate the SWF file.

67 questions
7
votes
4 answers

Is OpenLaszlo's dual-runtime approach (HTML5 and Flash/SWF) still valid?

OpenLaszlo is - as far as I know - the only rich Internet application platform with the following features: Declarative XML based user interface language (similar to Mozilla's XUL) called LZX. Cross compilation of LZX to either JavaScript or…
user1587219
3
votes
2 answers

How to get a view based on coordinate in openlaszlo?

In JavaScript we have document.elementfrompoint to get an element based on coordinates. Is there any thing like that in Openlaszlo to get a view based on coordinate?
karthick
  • 11,998
  • 6
  • 56
  • 88
2
votes
1 answer

OpenLaszlo font rendering not consistent for 3.x and 5.0 when using embedded fonts

I am applying a custom font to a text field this is working fine in my Openlaszlo 3.3 but in the newer version(5.0) the font is getting applied and the style is also getting applied , but i see the space between the letters is more. But this is not…
karthick
  • 11,998
  • 6
  • 56
  • 88
2
votes
1 answer

Scrollbar issue in scrolledittext openlaszlo

I am using scrolledittext class in my application the class is working perfectly fine in OL swf runtime but not in DHTML runtime. I am not able to see an activated scrollbar when i am typing in the scrolledittext. I am using the following code…
karthick
  • 11,998
  • 6
  • 56
  • 88
2
votes
1 answer

Openlaszlo colorTransform Issue

I am using color transformation to set color on a view using this code in OL 3.3 this works perfecty fine. obj.setColorTransform({ab: 0, aa: 100, bb: b-rB, ba: 100, gb: g-rG, ga:…
karthick
  • 11,998
  • 6
  • 56
  • 88
2
votes
1 answer

Is there a good way to integrate a google map to the apache openmeetings 2.0?

Is there a good way to integrate a google map to the apache openmeetings 2.0? I search it and find use about openlaszlo…
2
votes
1 answer

Is it possible to load a openlaszlo swf 10 runtime component in DHTML runtime?

I am having a audio recorder component which is currently in swf 10 environment. This uses the microphone activity level and other microphone api's while recording the audio. I am currently converting the application to dhtml runtime. Is it possible…
karthick
  • 11,998
  • 6
  • 56
  • 88
2
votes
1 answer

Is it possible to take a screenshot of html tag content with OpenLaszlo?

I am creating an openlaszlo application where an html tag will be present and i have some components that are draggable in the swf. I want to drag these components over the html. This is not possible. So what i am thinking of is to take a screenshot…
karthick
  • 11,998
  • 6
  • 56
  • 88
2
votes
0 answers

OpenLaszlo 4.9.0 DHTML app on iOS 4.3.5: JavaScript execution exceeded timeout

I'm unable to load my OpenLaszlo application on iPhone (but able on iPad). When I run the Debug Console, the following error is reported: JavaScript execution exceeded timeout. (LFCdhtml.js) I'm running OpenLaszlo 4.9.0, DHTML Runtime. Has anyone…
2
votes
1 answer

Targeting Flash Player 11.2 - 11.4 APIs with the OpenLaszlo SWF11 runtime

I've read here that there is an OpenLaszlo version capable of compiling LZX into SWF11 files for Flash Player 11.1. The SDK included with the flex4.6 branch of OpenLaszlo is - as we can tell by the name - Flex SDK 4.6. In another discussion on the…
user1597529
2
votes
0 answers

How to enforce maxlength in scrolledittext in openlaszlo?

Recently i was trying to create a scrollable edit text in openlaszlo. But for some reason maxlength property is not working. Any idea like why its not working. Is it a bug?. I am doing it now in an alternate way. Is there any better…
karthick
  • 11,998
  • 6
  • 56
  • 88
2
votes
2 answers

What is the suitable replacement for this.__LZtextclip.text in Open laszlo 5.0

I want to know what is the suitable replacement for this line. this.__LZtextclip.text I am using this to get the string present in the text node. This works fine in Openlaszlo 3.3 but in 4.9 and 5.0 it's giving a problem I tried updating it to…
karthick
  • 11,998
  • 6
  • 56
  • 88
2
votes
3 answers

Migrating code from OpenLaszlo 3.3 to 5.0: TypeError #1007 Instantiation attempted on a non-constructor.

I ported some parts of the code from OL 3.3 to OL 5.0 recently. I thought that everything will work but when i try to run it using the ant script i have I am getting this error. [echo] C:\Program Files\OpenLaszlo Server…
karthick
  • 11,998
  • 6
  • 56
  • 88
2
votes
3 answers

Which OpenLaszlo version should I use for new projects and when migrating applications to the latest version in 2012?

As a former committer on the OpenLaszlo project, I've been getting a lot of questions regarding the best OpenLaszlo version to be used when migrating applications using either a 3.x version or 4.x version lower than 4.2, or when starting a new…
raju-bitter
  • 8,906
  • 4
  • 42
  • 53
2
votes
1 answer

Error migrating OpenLaszlo app to 5.0: org.openlaszlo.sc.CompilerError / Overriding a function that is not marked for override

I have a rich text class present in OL 3.3 which i am converting to OL5.0 i used the incubator code present in 5.0 but when i am compiling it . I am getting this error. Any idea why this error is coming? [exec] org.openlaszlo.sc.CompilerError:…
karthick
  • 11,998
  • 6
  • 56
  • 88
1
2 3 4 5