Changes between Initial Version and Version 4 of Ticket #7381


Ignore:
Timestamp:
Jan 17, 2012, 12:17:05 AM (9 years ago)
Author:
bill
Comment:

Marking for 2.0 for the time being. Not sure if it could be done before then (or even if it's feasible for 2.0, but hopefully it is).

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #7381

    • Property Cc cjolif added
    • Property Milestone changed from future to 2.0
    • Property Summary changed from call attr() for every attribute on initialization to call set() for every attribute on initialization, include those with falsy values
  • Ticket #7381 – Description

    initial v4  
    1 By combination of injectAttributes and attributeMap, Widget.attr() is called for almost every widget attribute on widget initialization.
     1Widget.set() is called on widget initialization for all explicitly specified attributes, plus any attributes with truthy values.
    22
    3 Might be nice to call it for every single attribute, so we wouldn't need lines like this in postCreate():
     3Might be nice to call it for attributes with falsy values too, so we wouldn't need lines like this in postCreate():
    44
    55{{{