1. #1
    Touch Premium Member svenna's Avatar
    Join Date
    Jun 2007
    Location
    Oslo,Norway
    Posts
    560
    Vote Rating
    24
    svenna has a spectacular aura about svenna has a spectacular aura about

      0  

    Default use config object for e.g getters and setters in ExtJs

    use config object for e.g getters and setters in ExtJs


    Creating custom properties of a class is working fine, however, since the property is not added to the config object, but added "directly" to the class root via applyIf, no getters and setters are defined.

    Some times I want to move the title etc into the config as well (touch 2 style), can this be done in Architect? - without overrides?

    And - the config object itself is not visible in the inspector, and since it's
    Sven Tore Iversen

  2. #2
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,240
    Vote Rating
    121
    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


    The config system is only available in Touch at this time.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha Premium Member
    Join Date
    Feb 2012
    Posts
    276
    Vote Rating
    11
    worthlutz is on a distinguished road

      0  

    Default


    Quote Originally Posted by aconran View Post
    The config system is only available in Touch at this time.
    Is'nt this now available in Extjs 4.1?

    It is described in: www.sencha.com/learn/the-class-system/
    scroll down to "2. Configuration"

    Can we use it in Architect?

    Worth

  4. #4
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,240
    Vote Rating
    121
    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


    No, we don't yet have support for it.

    We've discussed maybe allowing users to prefix "config." when adding custom configs to indicate that it should go into a config block but we haven't done that yet.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

Thread Participants: 2