[Laszlo-dev] declaring types for named views/nodes
Henry Minsky
hminsky at laszlosystems.com
Mon Apr 6 11:54:04 PDT 2009
Sorry, got cut off in mid message
On Mon, Apr 6, 2009 at 2:52 PM, Henry Minsky <hminsky at laszlosystems.com>wrote:
> I was looking at declaring types for global named views, and it occurred to
> me that we could do this for local names as well,e.g.,
>
> <view>
> <view name="baz" onclick="bar.dosomething()"/>
> <view name="bar">
> <method name="dosomething"> ... </method>
>
</view>
</view>
So in this case, the "bar" and "baz" views actually get custom anonymous
classes created
for them , and it would improve compile time error checking if the vars
"baz" and "bar" were
declared with type being the actual class they will be bound to.
>
> --
> 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/20090406/41c9caa0/attachment-0001.html
More information about the Laszlo-dev
mailing list