Oops, I forgot to put NodeModel.java in, which actually writes the
warning; I'll repost a new tar file...
On 10/19/07, Donald Anderson <[EMAIL PROTECTED]> wrote:
>
> Henry, how do I get warnings to appear?
> I tried the following test case:
>
> <canvas>
> <class name="texty" extends="text">
> <method name="call" args="val">
> var result = "hello " + val;
> // arbitrary javascript here.
> this.setText(result);
> </method>
> <method name="apply" args="val">
> var result = "hello " + val;
> // arbitrary javascript here.
> this.setText(result);
> </method>
> <method name="onmousedown" args="val">
> var result = "hello " + val;
> // arbitrary javascript here.
> this.setText(result);
> </method>
> </class>
> <simplelayout />
> <texty name="foo1" />
> <texty name="foo2" />
> <script>
> // the first case works
> foo1.call("world");
> foo2.call("galaxy");
> foo1.apply("whirled");
> foo2.onmousedown("xyz");
> foo2.apply("gal-ax-sea");
> </script>
> </canvas>
>
> and was able to create/call method names with 'call' and 'apply' without
> a problem. What am I missing?
>
> - Don
>
> On Oct 19, 2007, at 1:23 AM, Henry Minsky wrote:
>
> > Change 20071019-hqm-4 by [EMAIL PROTECTED] on 2007-10-19 01:05:50
> > EDT
> > in /cygdrive/c/users/hqm/openlaszlo/trunk
> > for http://svn.openlaszlo.org/openlaszlo/trunk
> >
> > Summary: make tag compiler check for collisions of attribute names
> > with properties of Object and Instance
> >
> > New Features:
> >
> > Bugs Fixed: LPP-4939
> >
> > Technical Reviewer: ptw
> > QA Reviewer: dda
> > Doc Reviewer:
> >
> > Documentation:
> >
> > Release Notes:
> >
> > Details:
> >
> > Make "Object" the base class for the LFC ViewSchema.
> > Declare "Instance" in lfc.lzx, and declare attributes on it.
> > (technically a couple of them belong to 'Object', not Instance: call,
> > apply) but it doesn't really
> > matter.
> >
> >
> > Tests:
> >
> > smokecheck
> > compile webtop lzmail and compare script output previous to this
> > change
> >
> > Files:
> > M WEB-INF/lps/schema/lfc.lzx
> > M WEB-INF/lps/server/src/org/openlaszlo/compiler/ViewSchema.java
> >
> > Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20071019-
> > hqm-4.tar
> >
> >
> > --
> > Henry Minsky
> > Software Architect
> > [EMAIL PROTECTED]
>
>
> --
>
> Don Anderson
> Java/C/C++, Berkeley DB, systems consultant
>
> Voice: 617-547-7881
> Email: [EMAIL PROTECTED]
> WWW: http://www.ddanderson.com
>
>
--
Henry Minsky
Software Architect
[EMAIL PROTECTED]