1. #1
    Sencha User
    Join Date
    Apr 2008
    Posts
    80
    Vote Rating
    0
    g13013 is on a distinguished road

      0  

    Question autoRef, userClassName, itemId and initComponent !

    autoRef, userClassName, itemId and initComponent !


    Hi guys,
    I am trying ExtDesigner with ExtJS 4, I have some problems referencing items in the iniComponent function, in first I tried the itemId property, but it causes an exception ! when I searched the forum I heard about autoRef property, but I couldn't find it in ExtDesigner! I guess it was replaced with userClassName, I tried it but it doesn't work also.
    how can I acces child components at run time in the iniCompoenent function to avoid working with Ids

    thank you

  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


    autoRef is gone.

    userClassName is the javascript class that will be created.

    You can use itemId and then getComponent('myItemId'). You can also get your components via ComponentQuery.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  3. #3
    Sencha User
    Join Date
    Apr 2008
    Posts
    80
    Vote Rating
    0
    g13013 is on a distinguished road

      0  

    Thumbs up thanks

    thanks


    aconran

    thank you for the reply, you and your team are doing a great job, keep going, as we plan in my company to buy a license for Ext Designer, I tried the Sencha Designer 2 this afternoon and it's absolutly amazing ! we were waiting for code aditing in the Designer to buy the license, and I think it would be for the version 2.
    very good job.

  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


    Thanks for the feedback.

    Let us know how it works out for you.
    Aaron Conran
    @aconran
    Sencha Architect Development Team

  5. #5
    Sencha User
    Join Date
    Apr 2008
    Posts
    80
    Vote Rating
    0
    g13013 is on a distinguished road

      0  

    Cool


    my first reaction after some tests

    http://www.sencha.com/forum/showthre...or-improvement