The handler syntax and its relationship to the the methods is explained here:
http://www.openlaszlo.org/lps-latest/docs/guide/methods-events- attributes.html Slight clarification to Tucker's note: the syntax <method event=""> is discouraged now & will be fully deprecated -- it will not work -- with release 4.0. It would be good to begin moving to the <handler name=""> syntax now in order to avoid nasty surprises (broken code) a few months from now. Regards, jrs On Jul 5, 2006, at 12:05 PM, P T Withington wrote: > On 2006-07-05, at 10:06 EDT, Not Zippy wrote: > >> Hi >> >> I was trying to find out which was more efficient coding, using a >> Method or a Handler. Or does it matter ? Which is recommended / >> preferred ? I couldn't find any recommendations in the documents and >> the examples seem to be all over the place... > > If you mean `<method event='...` vs. `<handler name='...`, they have > the same implementation, so are equally efficient. The method syntax > is deprecated (because it confused people), the handler syntax is the > new approved way. > > > _______________________________________________ > Laszlo-user mailing list > [email protected] > http://www.openlaszlo.org/mailman/listinfo/laszlo-user _______________________________________________ Laszlo-user mailing list [email protected] http://www.openlaszlo.org/mailman/listinfo/laszlo-user
