Tucker,

Noted, thanks.

jrs

On Dec 19, 2006, at 9:33 AM, P T Withington wrote:

On 2006-12-19, at 09:16 EST, P T Withington wrote:

On 2006-12-19, at 08:26 EST, [EMAIL PROTECTED] wrote:

+ <b>New URL parameters.</b> The easiest way to view an lzx application in DHTML is to load it in a browser from a live server with an url parameter requesting the dhtml runtime <tt>lzt=html</tt>: <a href="../examples/components/ button_example.lzx?lzt=html">http://<i>myserver</i>/ mylaszloapp.lzx?<b>lzt=dhtml</b></a>. To request the swf runtime, use <a href="../examples/components/button_example.lzx? lzt=swf">http://<i>myserver</i>/mylaszloapp.lzx?<b>lzt=swf</b></ a>. To select a runtime in the developer's console, use the <tt>lzr</tt> flag: + <tt>lzr=dhtml</tt> loads the application compiled for the dhtml runtime, with the developer's console. + <tt>lzr=swf7</tt> and <tt>lzr=swf8</tt> loads the application compiled for the swf7 or swf8 runtime, with the developer's console. + Several lzr values have been added for future use, but are not currently supported: <tt>swf9, j2me, svg</tt>

There is some confusion here. The ?lzr parameter selects the runtime. Your choices are swf7, swf8, dhtml. The default is specified in lps/config/lps.properties as compiler.runtime.default. The default default is swf7 The ?lzt parameter is the 'request type', in general what kind of 'wrapper' page will be generated around your application. Your choices are: app_console or html. app_console is the developer console, html is your app in an html page. The latter can be used as a model for embedding your app in a custom page, or you can simply embed using an iframe:

  <iframe src=".../app.lzx?lzt=html"></iframe>

The default for ?lzt isspecified in lps/config/lps.properties as defaultRequestType. The default default is app_console.

[There are other values permitted for ?lzr and ?lzt, but they are either incomplete or for internal use. I don't see any profit in discussing them.]

Mnemonics:

lzr - LasZlo Runtime
lzt - LasZlo request Type

Reply via email to