[Laszlo-dev] clues for an app that only breaks in dhtml with debug=false
J Crowley
jcrowley at laszlosystems.com
Thu Aug 23 12:57:00 PDT 2007
Ahhhhhh, maybe. Ben -- if there are any ondata events on datasets,
try moving them to their respective datapointers. That was a problem
with Calendar.
On Aug 23, 2007, at 3:50 PM, Henry Minsky wrote:
> Hmm , I wonder if an ondata event is being sent when the dataset is
> initially empty, causing some confusion someplace.
>
>
> On 8/23/07, Benjamin Shine <ben at laszlosystems.com> wrote:
>> 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
>>
>>
>
>
> --
> Henry Minsky
> Software Architect
> hminsky at laszlosystems.com
More information about the Laszlo-dev
mailing list