Changes between Initial Version and Version 1 of Ticket #16199, comment 10


Ignore:
Timestamp:
Oct 22, 2012, 3:48:39 PM (9 years ago)
Author:
Adrian Vasiliu
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #16199, comment 10

    initial v1  
    2020}
    2121}}}
    22 so inheritParams finally does get called ''in fine''. But dojox/mvc trigger calls of the setters of item's properties at a time point which is between the buildRendering() and startup() calls. Differently, on other browsers than iOS6 (ex. on Chrome), getParent is not null already at the very first call (from buildRendering()), thus _isOnLine becomes true already at this time point. And this makes the difference...
     22so inheritParams does get called ''in fine''. But dojox/mvc trigger calls of the setters of item's properties at a time point which is between the buildRendering() and startup() calls. Differently, on other browsers than iOS6 (ex. on Chrome), getParent is not null already at the very first call (from buildRendering()), thus _isOnLine becomes true already at this time point. And this makes the difference...
    2323
    2424From that we can better understand why the patch of #16133 was also a workaround: the job which is not done when parameters are set during buildRendering is done after startup. But with the overridden _ItemBase.getParent this is no longer necessary.