Created bug report http://www.openlaszlo.org/jira/browse/LPP-2735

On 9/21/06, P T Withington <[EMAIL PROTECTED]> wrote:
> Looks like a bug to me.  It is definitely the contract that if you
> write your own setter, you must implement the event sending (this is
> the only way you could have the option of _not_ sending events).
>
> On 2006-09-21, at 16:16 EDT, Not Zippy wrote:
>
> > Hi
> >
> > In basetabpane's method _setSelected it appears that the code for
> > sending the selected event (to handlers) is missing.
> >
> >         <method name="_setSelected" args="s">
> >             this.selected = s;
> >             if (this.selected != this.tab.selected) {
> >               this.tab.setAttribute("selected", s);
> >           }
> >
> > // Added code for sending the event
> >               if (this.onselected) {
> >                   this.onselected.sendEvent(newValue);
> >              }
> >         </method>
> >
> > This is required if you want to have a handler inside the basetabpane
> > to catch the selected events..
> >
> > Should a bug be put in or was this intentional ?
> >
> >
> >
> > thx
> > z
> >
> > _______________________________________________
> > 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

Reply via email to