[Laszlo-dev] event handler attributes
Henry Minsky
henry.minsky at gmail.com
Mon Oct 29 16:20:50 PDT 2007
> Along the same lines, in Ben's example, can I say:
>
> <fruit ripeness="..." />
>
> I.e., can I name _any_ attribute in the open tag now?
Yes, that you can reference any declared attribute from the class without
any compiler warning. I think that has worked that
way for a long time.
On 2007-10-29, at 18:49 EDT, Henry Minsky wrote:
>
> > You mean if the user doesn't explicitly declare the event?
> >
> > On 10/29/07, Benjamin Shine <ben at laszlosystems.com> wrote:
> >>
> >>
> >> Henry, with the new validator, do we (want to) allow this scenario?
> >>
> >> <class name="fruit">
> >> <attribute name="ripeness" ... />
> >> </class>
> >>
> >> <fruit name="avocado" onripeness="Debug.write('mmm ripe avocado')" />
> >>
> >>
> >>
> >
> >
> > --
> > 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/20071029/8aff6ac1/attachment.html
More information about the Laszlo-dev
mailing list