[Laszlo-dev] language proposal, add "event" attribute to <attribute> declarations

Henry Minsky henry.minsky at gmail.com
Thu Mar 23 14:50:15 EST 2006


Our new <event> tag declares an event in a view or class.

If people are expecting to have events declared for attributes that they
define ( example from floatinglist.lzx)

        <attribute name="cornerresourcenumber"
                   value="0"
setter="this.setCornerResourceNumber(cornerresourcenumber)"
/>
        <event name="oncornerresourcenumber" />

then I propose a shorthand for this case which would be a "event" property
on the  <attribute> tag

        <attribute name="cornerresourcenumber"
event="oncornerresourcenumber"
                   value="0"
setter="this.setCornerResourceNumber(cornerresourcenumber)"
/>





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


More information about the Laszlo-dev mailing list