1. #1
    Touch Premium Member svenna's Avatar
    Join Date
    Jun 2007
    Location
    Oslo,Norway
    Posts
    338
    Vote Rating
    14
    svenna will become famous soon enough svenna will become famous soon enough

      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
    8,191
    Vote Rating
    63
    aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice

      0  

    Default


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

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    189
    Vote Rating
    6
    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
    8,191
    Vote Rating
    63
    aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice aconran is just really nice

      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