@Richard: thanx for your answer. As for the performance penalty: is the 
bubbling process taken care of by qooxdoo or by the browser?

 

@Dietrich: according to the documentation dataEvents are non-bubbling:

          "fireDataEvent() Creates and dispatches an non-bubbling data event on 
this object."

The event set for class properties are of this type.

 

Regards,

Martijn.

 
-----Oorspronkelijk bericht-----
Aan:qooxdoo Development <[email protected]>; 
Van:Dietrich Streifert <[email protected]>
Verzonden:vr 18-01-2013 17:35
Onderwerp:Re: [qooxdoo-devel] When to use fireNonBubblingEvent?
What kind of event is fired if I have a property bound event like this:

    value :
    {
      check : "String",
      event : "changeValue",
      init : null,
      nullable : true
    }

Bubbling or non-bubbling?

The event is automatically fired by some (more or less) hidden logic 
within qooxdoo.

I have some huge forms with a lot dependencies between the form fields 
which are triggered via the changeValue and changeModel events.

This may be something to look into because of possible performance gains 
especially on IE8.

Regards
Dietrich


Am 18.01.2013 16:39, schrieb Richard Sternagel:
> It depends.
>
> "Some types of events will bubble up the parent widget chain (such as
> mouse events, ...) while others are only fired on the original object
> (e.g. property changes, ...)." [1]
>
> AFAIK there is no written down list which states which events support it
> and which not. Just try it out in a small sample app.
>
> Regards
> Richard
>
> [1] http://manual.qooxdoo.org/current/pages/desktop/ui_interaction.html
>
>


------------------------------------------------------------------------------
Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and
much more. Get web development skills now with LearnDevNow -
350+ hours of step-by-step video tutorials by Microsoft MVPs and experts.
SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122812
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

 
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122412
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to