On 2006-06-20, at 15:46 EDT, Michael Pence wrote:

> As Max described it to me, declarative stuff in laszlo (XML
> descriptions of UI, states, etc.) get translated to lz script, then
> they have an lz script to actionscript converter, or something to
> that effect. It would be useful if you could actually *see* this
> intermediary code to understand the order of operations.

lzc --script will output the intermediary javascript, but be  
forewarned, it is machine-generated and not easy to understand.

If you are trying to understand the order of things, I highly  
recommend looking at Debug.trace and Debug.monitor which will let you  
trace method calls and monitor attribute settings.  If you turn on  
backtracing, the TRACE and MONITOR messages include a backtrace so  
you can understand how they happened.

I agree that the initialization of View's is overly-complex and it is  
something I would like to address.  As was discussed not long ago on  
this list, it is important to understand [this](http:// 
www.openlaszlo.org/lps-latest/docs/guide/initialization-and- 
instantiation.html) if you are writing a complex application.

P T Withington
OpenLazslo.ORG                       <http://www.openlaszlo.org>
mailto:[EMAIL PROTECTED]      skype:ptwithy     aim:[EMAIL PROTECTED]












_______________________________________________
Laszlo-user mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-user

Reply via email to