1. #11
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,266
    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


    Quote Originally Posted by MichelleWong View Post
    When will architect 2.1 come out?
    After we finish testing it, etc

    Quote Originally Posted by MichelleWong View Post
    Besides, how can we activate the Xtemplate in stead of using itemTpl? Or I might be confused with?
    XTemplates can be added with their appropriate configurations, tpl, itemTpl, etc
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  2. #12
    Sencha User
    Join Date
    Jul 2012
    Posts
    14
    Vote Rating
    1
    alexandrn is on a distinguished road

      0  

    Default


    aconran,
    where is in SA 2 one can put Xtemplate member functions?
    for example in Panel's tpl

    <h2>Text</h2>
    <div>
    {[this.highlightSearchQueryWords(values.text)]}
    </div>

  3. #13
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,266
    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


    In Sencha Architect 2.1, templates become their own node. You can add functions to the template and they will become member functions.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  4. #14
    Sencha User kitesurf's Avatar
    Join Date
    Jan 2012
    Location
    London, England
    Posts
    73
    Vote Rating
    2
    kitesurf is on a distinguished road

      0  

    Default


    Quote Originally Posted by aconran View Post
    In Sencha Architect 2.1, templates become their own node. You can add functions to the template and they will become member functions.
    Hi Aaron, I assume Architect 2.1 is still to be released?

  5. #15
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,266
    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


    Quote Originally Posted by kitesurf View Post
    Hi Aaron, I assume Architect 2.1 is still to be released?
    Went out the door this morning
    http://www.sencha.com/blog/sencha-architect-2-1
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  6. #16
    Sencha User kitesurf's Avatar
    Join Date
    Jan 2012
    Location
    London, England
    Posts
    73
    Vote Rating
    2
    kitesurf is on a distinguished road

      0  

    Default


    awesome, thanks Aaron!

  7. #17
    Sencha User kitesurf's Avatar
    Join Date
    Jan 2012
    Location
    London, England
    Posts
    73
    Vote Rating
    2
    kitesurf is on a distinguished road

      0  

    Default


    Quote Originally Posted by aconran View Post
    I've had a read through of the release notes to check if there are any upgrade notes. I couldn't find any. Presumably there is no harm to existing projects by updating to Architect 2.1 or are there some caveats before doing that?

  8. #18
    Sencha - Architect Dev Team aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,266
    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


    Quote Originally Posted by kitesurf View Post
    I've had a read through of the release notes to check if there are any upgrade notes. I couldn't find any. Presumably there is no harm to existing projects by updating to Architect 2.1 or are there some caveats before doing that?
    http://docs.sencha.com/architect/2/#!/guide/changelog

    We've tested lots of projects in the upgrade process without problems.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  9. #19
    Sencha User
    Join Date
    Feb 2012
    Posts
    3
    Vote Rating
    0
    dmullins is on a distinguished road

      0  

    Default


    I am using Architect 2.1 and am having real difficulties defining an XTemplate still...I hope it is a user issue! There is no place to enter an XTemplate definition, e.g. to apply formatting to a grid column. I can add definitions, or Functions....neither of them populate the first config property of the XTemplate in code view (which is where the formatting would go). Any help appreciated

  10. #20
    Sencha User
    Join Date
    Feb 2012
    Posts
    3
    Vote Rating
    0
    dmullins is on a distinguished road

      0  

    Default


    I previously asked how to apply XTemplates to grid columns in Architect 2.1. I have now done this by adding a custom property of renderer...works OK. This is a very standard field though, not sure why it needs to be added in this manner