[Laszlo-dev] clues for an app that only breaks in dhtml with debug=false

Benjamin Shine ben at laszlosystems.com
Thu Aug 23 12:20:46 PDT 2007


Making progress -- ye old data loader!

The whole thing works in dhtml if I specify my dataset inline:
<dataset name="navdata">
    <menu>....</menu>
</dataset>

but not if I first specify an empty dataset
<dataset name="navdata" />

and then fill it in with
navdata.setSrc("myfile.xml");
navdata.doRequest();

Hmmm. Ring any bells?

PS: there was one warning in debug mode, which I tracked down and  
eliminated the issue causing it.

On Aug 23, 2007, at 4:29 AM, P T Withington wrote:

> Are you getting any warnings in debug mode?
>
> ---
> L'iPhone, c'est moi.
>
> On Aug 22, 2007, at 11:53 PM, "Henry Minsky"  
> <henry.minsky at gmail.com> wrote:
>
>> Often it is some conditional code path in either the LFC (likely) or
>> the app (less likely) that
>> depends on the state of the $debug compiler constant...
>>
>>
>>
>> On 8/22/07, Benjamin Shine <ben at laszlosystems.com> wrote:
>>>
>>> I've got an app (the laszlo explorer, actually) that works just  
>>> right
>>> in swf7 and swf8, and even works in dhtml when debug=true. When
>>> debug=false, though, the navigation menu (most of the app, IOW)
>>> doesn't appear.
>>>
>>> I remember there's some lore about what usually causes problems only
>>> when not debugging. Anybody remember?
>>>
>>
>>
>> -- 
>> Henry Minsky
>> Software Architect
>> hminsky at laszlosystems.com



More information about the Laszlo-dev mailing list