Success! Looks like we've fixed this one. According to our records the fix was applied for a bug in our system in a recent build.
  1. #1
    Ext JS Premium Member
    Join Date
    Apr 2011
    Location
    London, UK
    Posts
    32
    Vote Rating
    1
    markofsine is on a distinguished road

      0  

    Default Adding 'extend' property via the Component Config causes issues

    Adding 'extend' property via the Component Config causes issues


    Model definitions

    Tried to use one model as the base class for another model by adding the 'extend' property via Component Config. As expected this did not work and causes issues with the designer.

    Two problems then:
    1. Don't allow the 'extend' property to be added via component Config.

    2. How would you set a base class for a model?
    Say for example I had standardised proxy and functions on a base model and then wanted all my other models to extend from this model.

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,413
    Vote Rating
    129
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default


    You can now create an arbitrary class by dragging out a "Class" or clicking the + at the top right of the inspector, going down to class and then choosing where it should reside (views/stores/models/controllers)
    Aaron Conran
    @aconran
    Sencha Architect Development Team

Thread Participants: 1