Changes between Initial Version and Version 4 of Ticket #7381
- Timestamp:
- Jan 17, 2012, 12:17:05 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #7381
- Property Cc cjolif added
-
Property
Milestone
changed from
future
to2.0
-
Property
Summary
changed from
call attr() for every attribute on initialization
tocall 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.1 Widget.set() is called on widget initialization for all explicitly specified attributes, plus any attributes with truthy values. 2 2 3 Might be nice to call it for every single attribute, so we wouldn't need lines like this in postCreate():3 Might be nice to call it for attributes with falsy values too, so we wouldn't need lines like this in postCreate(): 4 4 5 5 {{{