Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Sencha User
    Join Date
    Feb 2012
    Posts
    255
    Answers
    6
    Vote Rating
    2
    landed is on a distinguished road

      0  

    Question Unanswered: Possible Bug

    Unanswered: Possible Bug


    I am not able to render any custom components using item fashion for example the following simple custom component class. Is this a bug.
    Code:
    Ext.define('App.view.markets.MyDataView', {   extend: 'Ext.Panel',
       xtype:'mypanel',
       html:'this is html'
    });
    Ext.create('App.view.markets.MyDataView',{	
    	html:'jaksgdkjahdkjahdkhaskjh'
    	});
    in the parent class how else can I create and render out this component I know of only item[{xtype:'mypanel'},{},{}]

    thanks - I have now tried a few different classes copied straigt from your docs and these also do not show. However any EXT classes DO work in the same way. Just my custom ones dont. And no errors.

  2. #2
    Sencha User
    Join Date
    Jan 2012
    Posts
    49
    Answers
    6
    Vote Rating
    0
    j.k is on a distinguished road

      0  

    Default


    Ext.create only creates an instances of the specified class, it does not automatically add that component anywhere.

    You're going to have to add that component by yourself for example by Ext.Viewport.add() or Panel#setItems()

  3. #3
    Sencha User
    Join Date
    Feb 2012
    Posts
    255
    Answers
    6
    Vote Rating
    2
    landed is on a distinguished road

      0  

    Default


    So in the parent class am I doing

    item[
    {xtype:'customClass'}

    ]

    in the custom class I need something like ..

    this.add();

    but this doesnt exist in your docs anywhere I can see.

    Thanks for your help BTW

Thread Participants: 1