problem about openlaszlo-Collection of common programming errors


  • MB24051988
    javascript-events mouseevent openlaszlo
    I have designed d a highlighter that works fine with html pages,but when i am trying to integrate with an openlaszlo application i am facing problem with the mouse events…..The openlaszlo applciation application has a button which on clicking activates the highlighter.The application has been deployed as a solo application and the function corresponding to the button has been written in the ” index.html ” file that is generated.The button code defined in the laszlo application is as follows :-

  • raju-bitter
    actionscript-3 flash adobe profiling openlaszlo
    I’ve read that Adobe’s Flash Builder 4.0+ supports profiling of ActionScript 3 applications. Is it then possible to use Flash Builder to profile OpenLaszlo SWFx runtime applications accordingly?The conversion of OpenLaszlo’s LZX source code into an SWF file happens in multiple steps, and the compiler generates ActionScript source code during this process. How could that source code be used to debug an application inside Flash Builder?Based on what I know about Flash Builder, ActionScript 3 appl

  • Soamo Nuo
    animation openlaszlo
    I am a openlaszlo beginner and I wnat to create an interactive web interface which simulates the indications of a vomplex astronomic clock. It should be possible to input e.g. the coodriantes and date/time or to select a realtime or timelapse modus.I have tried to use a edittext field and button and a radiobutton group to select the informations and then to move an image according to the selsction. When I use only the edittext field and the button, then it works. The text entry is displayed in

  • raju-bitter
    flash debugging swf openlaszlo lzx
    I just learned how to profile OpenLaszlo applications using Flash Builder. The approach mentioned in that discussion means that an OpenLaszlo application is compiled into an SWF file with the debug option enabled for the Flex compiler. The generated SWF file can then be profiled using Flash Builder.It would be much more powerful if we could use the full power of the Flash Builder debugger to debug an OpenLaszlo SWF11 runtime application. I’m specifically looking for a way tobe able to set breakp

  • karthick
    openlaszlo lzx
    I am just trying to integrate textarea in dhtml environment. I am able to see the text area But i cannot type anything in the text area. Attached is a code snippet.<canvas debug=”true”><attribute name=”htmlsnippet” type=”string” value=”” /><handler name=”oninit” args=”e”><![CDATA[canvas.htmlsnippet = ‘<textarea id=”textArea” rows=”8″ cols=”50″></textarea>’;]]></handler><simplelayout axis=”y” spacing=”30″ /><text id=”textcont” width=”530″ height=

  • raju-bitter
    html5 ant openlaszlo lzx
    I’ve read about OpenLaszlo’s lzdeploy tool, but there seems to be only little documentation available.It should be possible to build an OpenLaszlo DHTML application using Apache Ant (e.g. as part of an automated build process). How can the lzc and lzdeploy tool be used out of Ant to generate a compiled version of an OpenLaszlo application for the DHTML runtime, including the wrapper page?

  • karthick
    migration openlaszlo lzx
    I have a following code snippet which gives the expected result in OL 3.3 and in OL 4.9.When i integrate the code with my OL4.9 application, for some reason, i am getting ‘parts’ as null in Openlaszlo 4.9. I cannot figure out the reason. Is the following code correct?OL3.3<canvas> <attribute name=”result” /> <attribute name=”dp” value=”$once{new LzDatapointer()}” /> <handler name=”onresult”>_populateList(); </handler> <method name=”_populateList”>var node =

  • karthick
    migration openlaszlo lzx
    i created one view which will scale the views inside that particular view. The code is working properly in OL 3.3 but its not working inOL 4.9

  • karthick
    dhtml openlaszlo lzx
    I am currently migrating my swf 10 OL 5.0 code to DHTML runtime and i am facing this problem.I am not able to set a custom cursor for a view that i am dragging. Then i found that the code that is given in the documentation is also not working. The following code is running fine in swf 10 runtime but its not working in DHTML runtime.I have attached the sample code<canvas height=”30″><resource name=”waitcursor” src=”wait.png”/><view bgcolor=”yellow” cursor=”waitcursor”><text&g

  • Kmeixner
    file-upload drag-and-drop swf dhtml openlaszlo
    I haven’t seen any good file upload component for OpenLaszlo. Is there an open source version of a file upload component, which supports drag & drop for DHTML and Adobe AIR, and a preview functionality for both runtimes?Technically it is possible to support the following features:drag and drop file upload in DHTML for all desktop browsers http://caniuse.com/#feat=dragndrop preview of images for Webkit browsers and Firefox in DHTML, and for all browsers using a SWF runtime drag and drop suppo

  • raju-bitter
    svg openlaszlo lzx
    I saw a couple of examples which is being done through the flash classes. But that wont work in dhtml environment. For dhtml environment I have to create a separate iframe component or some thing of that sort so that the browser will take care of that. Is there any better approach? I also want to know if openlaszlo has any inbuilt support for svg?.

  • user427051
    ajax dhtml ria openlaszlo
    As a long time time Flex developer I’ve thought about building my next application – which should run on the iPad as well – with OpenLaszlo. OpenLaszlo offer a Flash and DHTML runtime, but besides the demos on the website I don’t see any real world application built with OpenLaszlo: http://openlaszlo.org/showcaseHas anyone built a large application with the DHTML runtime, and what was your experience doing that.Thanks!

  • raju-bitter
    compilation web-browser openlaszlo lzx
    One of the annoyances of the Flash Player is that the player – once it has the focus – blocks certain key events from being passed on to the browser. Especially for the F5 function key used to reload pages or to recompile the application. As a result you have to click outside the area of the SWF movie for the browser to regain focus before pressing F5.How can the F5 key still be used with SWF runtime applications to recompile and reload an SWF runtime application?

  • karthick
    openlaszlo lzx
    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 <canvas> <include href=”incubator/scrolledittext.lzx” /> <include href=”lz/vscrollbar.lzx”/> <include href=”incubator/newvscrollbar.lzx”/> <include href=”incubator/newvscrollbar_resources.lzx”/><button name=”text”><ha

  • raju-bitter
    flash animated-gif openlaszlo lzx
    The Flash Player does not offer native support for animated GIF files. In the DHTML runtime, you can just use an animated GIF like any other image resource. But how can an image be used as a resource for a view in the SWF10 or SWF11 runtime?

  • raju-bitter
    dhtml openlaszlo
    Is there a public API for accessing the HTML div object of an OpenLaszlo view in the DHTML runtime? There doesn’t seem to be an example for that in the OpenLaszlo documentation, but technically it should be possible.

  • raju-bitter
    text tabs rotation openlaszlo lzx
    Why when I apply a rotation tab text disappears of the tabs? Is there any way to keep the labels in its relative position, so it rotate along with the tab?code:<tabs name=”dentes” height=”200″ width=”300″ x=”${this.width}” y=”${this.height}” rotation=”90″><tabpane name=”coroa” text=”Coroa” bgcolor=”blue” width=”100%” height=”100%”> <text>Nome:</text></tabpane><tabpane name=”raiz” text=”Raiz” bgcolor=”red” width=”100%” height=”100%”> <text>Nome:</text

  • raju-bitter
    flash runtime openlaszlo flash-player-11 lzx
    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 Flash context menu in OpenLaszlo it was mentioned that it is possible to target Flash Player APIs higher than 11.1 with the flex4.6 branch of OpenLaszlo.What changes would have to be made the the flex4.6 branch to achieve this? Does that involve changin

  • ryeager
    flash html5 runtime openlaszlo lzx
    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 ActionScript 3 (therefore supporting two runtimes). Ability to develop components using XML and JavaScript or JavaScript only; all components are rendered by OpenLaszlo, therefore they’ll look identical across browsers and devices. View system, keyboard and m

  • J.Hunt
    flash accessibility openlaszlo
    I have been trying to add accessibility features some of my OpenLaszlo applications on the SWF10 runtime. Basically I have been getting nowhere. The screen reader I am using to test, “VoiceOver” on Mac refuses to notice my flash widgets, but does notice other non OpenLaszlo widgets.I have added these attributes to the canvas element, though I think just the “accessible” attribute would should do the job.aaactive=”true” aaname=”MP3 Recorder” accessible=”true” focusable=”true”And in the laszlo jav

  • raju-bitter
    actionscript-3 flash openlaszlo
    I’m planning to build a small application, which uses some features of Flash Player 11. Is it possible to target the Flash Player 11 APIs with the OpenLaszlo? In this discussion it’s shown how ActionScript packages can be imported into OpenLaszlo applications, but based on the compiler description of version 4.9 it seems that there is only an swf10 runtime, targeting Flash Player 10 APIS.

  • karthick
    migration openlaszlo lzx
    I want to know what is the suitable replacement for this line.this.__LZtextclip.textI 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 problemI tried updating it to this.sprite.__LZtextclip.textAnd i am getting an error:79: Error: Access of possibly undefined property __LZtextclip through a reference with static type LzSprite, in line: Debug.write(this.sprite.__LZtextclip.text);Any idea why this problem is happening?

  • raju-bitter
    migration openlaszlo lzx
    I want to know has anyone across a defect like this when upgrading open laszlo.The tag xxx cannot be used as a child of view The tag xxx cannot be used as a child of classWhy this error happens? Any Idea?

  • karthick
    openlaszlo lzx
    When i am trying to build my code in linux environment i am facing an issue.I am getting an error like thisorg.openlaszlo.sc.CompilerError: tunit/line unknown: , in line: LzApplication___embed_lzasset_nogobacktotest_button_rsc_1_dataClass.as: Error: unable to read transcoding source ‘/home/iuser/Desktop/lps-5.0.x/Server/lps-5.0.x/test/src/screens/resources/test_on.swf’Any idea why this issue is occuring?I am using ubuntu 9.0 and openlaszlo 5.0.x and testing in firefox browser

Web site is in building