1. #1
    Ext JS Premium Member Steffen Hiller's Avatar
    Join Date
    Mar 2008
    Posts
    767
    Answers
    7
    Vote Rating
    23
    Steffen Hiller will become famous soon enough Steffen Hiller will become famous soon enough

      0  

    Default Unanswered: Beta 1: dockedItems

    Unanswered: Beta 1: dockedItems


    Not sure since which release, but defining docked items in the dockedItems config seems not to be deprecated anymore, right?

  2. #2
    Sencha - Sencha Touch Dev Team Jamie Avins's Avatar
    Join Date
    Mar 2007
    Location
    Redwood City, California
    Posts
    3,661
    Answers
    17
    Vote Rating
    19
    Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough Jamie Avins is a jewel in the rough

      0  

    Default


    Depends on which build you are using. Currently if you want to use deprecated methods you need to use the compat build. We're still tweaking some of the builds around during the beta to get a good set of them. When developing we are trying to always throw a warning when you use a deprecated method as we really want people to end up with as clean and compact a build as possible. There is currently over 40k of deprecation code in place, it makes a huge difference -- especially for mobile.

    Sencha Inc

    Jamie Avins

    @jamieavins

  3. #3
    Ext JS Premium Member Steffen Hiller's Avatar
    Join Date
    Mar 2008
    Posts
    767
    Answers
    7
    Vote Rating
    23
    Steffen Hiller will become famous soon enough Steffen Hiller will become famous soon enough

      0  

    Default


    I just had a quick look at the code and didn't see deprec stuff around dockedItems... So this sounds like it's still supposed to be deprecated? :-(

    Really would like to have dockedItems back in ST2,
    seems to me much cleaner when defining panels with docked and normal items.

    "items" depend on the layout setting,
    "dockedItems" don't.

  4. #4
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Answers
    93
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    And there is a guide about it here: http://docs.sencha.com/touch/2-0/#!/guide/building
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

  5. #5
    Ext JS Premium Member Steffen Hiller's Avatar
    Join Date
    Mar 2008
    Posts
    767
    Answers
    7
    Vote Rating
    23
    Steffen Hiller will become famous soon enough Steffen Hiller will become famous soon enough

      0  

    Default


    Quote Originally Posted by rdougan View Post
    And there is a guide about it here: http://docs.sencha.com/touch/2-0/#!/guide/building
    I tweeted a link to this guide a few minutes ago. See my previous message, it's rather about dockedItems, not deprecated messages.

  6. #6
    Ext JS Premium Member Steffen Hiller's Avatar
    Join Date
    Mar 2008
    Posts
    767
    Answers
    7
    Vote Rating
    23
    Steffen Hiller will become famous soon enough Steffen Hiller will become famous soon enough

      0  

    Default


    Btw, this "[TOUCH-1218] Added getDockedItems and getDockedComponent methods back into Ext.Container" made me wonder if dockedItems are back in full swing, which I hope.

  7. #7
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Answers
    93
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    The team made the decision to remove the dockedItems configuration because it can be confusing and a tad pointless, especially when configurations like docked, are dynamic.

    As for the methods; they were added in for deprecation and to make finding docked items in a container easier.
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

  8. #8
    Ext JS Premium Member Steffen Hiller's Avatar
    Join Date
    Mar 2008
    Posts
    767
    Answers
    7
    Vote Rating
    23
    Steffen Hiller will become famous soon enough Steffen Hiller will become famous soon enough

      0  

    Default


    :-( For me having layout items mixed with docked items is more confusing. That you can change that dynamically wouldn't be a reason for me.

    I don't see any deprecated flag in the docs for getDockedItems and getDockedComponent?
    Not sure what you mean by that?

    Btw, the docs search index doesn't seem to be updated yet, you can't find getDockedItems or animateActiveItem.

  9. #9
    Sencha - Sencha Touch Dev Team rdougan's Avatar
    Join Date
    Oct 2008
    Posts
    1,158
    Answers
    93
    Vote Rating
    6
    rdougan will become famous soon enough

      0  

    Default


    Quote Originally Posted by Steffen Hiller View Post
    :-( For me having layout items mixed with docked items is more confusing. That you can change that dynamically wouldn't be a reason for me.
    Well dockedItems will be there for the length of the 2.x release, so you still have lots of time to use it.

    Quote Originally Posted by Steffen Hiller View Post
    I don't see any deprecated flag in the docs for getDockedItems and getDockedComponent?
    Not sure what you mean by that?
    They are useful methods. There are times you need to fetch only docked items. Just like sometimes you need to fetch only innerItems.

    Quote Originally Posted by Steffen Hiller View Post
    Btw, the docs search index doesn't seem to be updated yet, you can't find getDockedItems or animateActiveItem.
    Working for me.
    Sencha Inc.
    Robert Dougan - @rdougan
    Sencha Touch 2 and Ext JS 4 Core Team Member, SASS/Theming Wizard.

  10. #10
    Ext JS Premium Member Steffen Hiller's Avatar
    Join Date
    Mar 2008
    Posts
    767
    Answers
    7
    Vote Rating
    23
    Steffen Hiller will become famous soon enough Steffen Hiller will become famous soon enough

      0  

    Default


    Well, I don't want to use or teach things that are not recommended by Sencha and will eventually be removed.

    Yes, getDockedItems and getDockedComponent are useful, no doubt, just as the dockedItems config is. You could simply use the CQ for getting the docked items, too, so what's bad with helper functions or config options that make your code cleaner and more explicit?
    I really tried to get used to it, but still couldn't.

    The docs search problems seems to be a cache issue (using Chrome). Works using another browser.

Thread Participants: 2

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar