[Laszlo-dev] warnings from code that uses list and textlistitem

Henry Minsky henry.minsky at gmail.com
Mon Jan 15 14:50:05 PST 2007


OK that's better now, I sync'ed and those warnings are no longer present.

BTW, after syncing, I am seeing this error in Firebug

flashPutHref is not defined

anyone know what that is about?


On 1/15/07, P T Withington <ptw at openlaszlo.org> wrote:
>
> Have you sunk lately?  Max was seeing errors like this before my
> latest event deferral change.
>
> On 2007-01-15, at 13:36 EST, Henry Minsky wrote:
>
> > There are some regression tests I'm running which use code like
> > this which
> > instantiates a list with
> > text listitems:
> >
> >    <list name="env" width="250" height="200">
> >        <textlistitem name="ti" datapath="envDset:/*"
> > text="$path{'name()'}">
> >            <method event="onselect">
> >                canvas.display.setText(datapath.xpathQuery('text()'))
> >            </method>
> >        </textlistitem>
> >    </list>
> >
> > I get these warnings when running the code, but the code looks like
> > it it
> > working fine. So these
> > seem to be transient errors during instantiation (anyone recognize
> > a pattern
> > here?)
> >
> > Is anyone else seeing these, or is it just me? I can file a bug, or
> > poke
> > around to try to fix the
> > component code, but I feel like this is pointing to some larger
> > issue. These
> > warnings were
> > not present in trunk...
> >
> > ERROR: base/basescrollbar.lzx:315: reference to undefined variable
> > 'thumb'
> > ERROR: base/basescrollbar.lzx:315: undefined object does not have a
> > property
> > 'setAttribute'
> > WARNING: base/basescrollbar.lzx:281: reference to undefined
> > property 'thumb'
> >
> > ERROR: base/basescrollbar.lzx:281: undefined object does not have a
> > property
> > '[]'
> > WARNING: base/basescrollbar.lzx:283: reference to undefined
> > property 'thumb'
> >
> > ERROR: base/basescrollbar.lzx:283: undefined object does not have a
> > property
> > 'setAttribute'
> >
> >
> > --
> > Henry Minsky
> > Software Architect
> > hminsky at laszlosystems.com
>
>


-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.openlaszlo.org/pipermail/laszlo-dev/attachments/20070115/10ec7899/attachment-0001.html


More information about the Laszlo-dev mailing list