Results 1 to 5 of 5

Thread: autoRef, userClassName, itemId and initComponent !

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Sencha User
    Join Date
    Apr 2008
    Posts
    80
    Vote Rating
    0
      0  

    Question 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 User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,487
    Vote Rating
    145
      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

  3. #3
    Sencha User
    Join Date
    Apr 2008
    Posts
    80
    Vote Rating
    0
      0  

    Thumbs up 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 User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,487
    Vote Rating
    145
      0  

    Default

    Thanks for the feedback.

    Let us know how it works out for you.
    Aaron Conran
    @aconran

  5. #5
    Sencha User
    Join Date
    Apr 2008
    Posts
    80
    Vote Rating
    0
      0  

    Cool

    my first reaction after some tests

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •