1. #1
    Sencha User
    Join Date
    Oct 2011
    Posts
    56
    Vote Rating
    2
    geniodella is on a distinguished road

      0  

    Default Answered: items in panel not rendered if not wrapped in config

    Answered: items in panel not rendered if not wrapped in config


    Yesterday i lost a few hours,
    i tried some examples of vbox layouts directly using the compiler wrapped in the sencha docs
    and everything was fine, i created a panel vbox with two items inside,
    then i try to copy and paste this panel in the mainview of the autogenerated example of sencha touch
    which was working before and bang! nothing was visualized, i discovered analyzing the html
    that the items within the external panel are not shown, after a few hours i discovered
    that the items have to be wrapped in the config parenthesis otherwise they won't be rendered,
    why this change between extjs and sencha touch is not well documented?
    and why the panel in the docs work well without using the config?????

    http://docs.sencha.com/touch/2.3.1/#!/api/Ext.Container

  2. This is actually covered in the following guide:
    http://docs.sencha.com/touch/2.3.1/#...e/class_system

    If you are coming over from Ext I would suggest reviewing all of the guides as there are some differences between the two platforms. A few hours spent reviewing the guides will save you hours of debugging in the future.

    A config object is not necessary when you use Ext.create.

  3. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    3,872
    Answers
    325
    Vote Rating
    128
    fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all fmoseley is a name known to all

      0  

    Default


    This is actually covered in the following guide:
    http://docs.sencha.com/touch/2.3.1/#...e/class_system

    If you are coming over from Ext I would suggest reviewing all of the guides as there are some differences between the two platforms. A few hours spent reviewing the guides will save you hours of debugging in the future.

    A config object is not necessary when you use Ext.create.
    Get more personalized support via a support subscription.

    Want to learn Sencha Touch 2? Check out
    Sencha training
    Sencha Touch in Action

    Need more help with your app? Hire Sencha Services services@sencha.com

    When posting code, please use BBCode's CODE tags.

    Need to include a test case use:
    The official Sencha Fiddle

  4. #3
    Sencha User
    Join Date
    Oct 2011
    Posts
    56
    Vote Rating
    2
    geniodella is on a distinguished road

      0  

    Default


    Thanks,
    i thought that the sintax was the same.

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi