Changes between Version 2 and Version 3 of Ticket #10864


Ignore:
Timestamp:
Sep 17, 2013, 9:53:50 AM (11 years ago)
Author:
Piotrek Koszuliński
Comment:

I changed my mind regarding the correct design, so I simplified this ticket.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #10864

    • Property Summary changed from Extend widget instance only with chosen definition's properties to Set "repository" and "definition" properties in widget constructor not when registering definition
  • Ticket #10864 – Description

    v2 v3  
    1 Currently we load all definition's properties to widget instance. We should only load `init` method, `name` and perhaps nothing more.
    2 
    3 In some places code tries to access widget.dialog property and so on, but this should be changed to widget.definition.dialog.
    4 
    5 Also, widget.repository and widget.definition should not come from definition object, but should be set in widget's constructor.
     1Both properties are unnecessarily set in widget definition object.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy