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

      0  

    Question Unanswered: Anything wrong with this class ?

    Unanswered: Anything wrong with this class ?


    Code:
    Ext.define('bv2.view.market.Market',{	extend:'Ext.Panel',
    	xtype:'marketPanel',
    	//alias: 'widget.marketPanel',
    });
    
    
    
    
    
    
    var mkPan=Ext.create('Ext.Container', {
        fullscreen: true,
        layout: 'vbox',
    	title:'some title',
          items:[	
    				{
    					xtype: 'label',
    					html: 'London'
    				}
    			/*,{
    				xtype:'olist',
    				id:'oli',
    				title:'OLIST'
    			}
    			*/
    			]
    });
    I'm always getting the same error Cannot create an instance of unrecognized alias: widget.marketPanel

    its the last thing stopping me from getting on - these things are cards of a tab bar.

  2. #2
    jay@moduscreate.com's Avatar
    Join Date
    Mar 2007
    Location
    Frederick MD, NYC, DC
    Posts
    16,353
    Answers
    102
    Vote Rating
    79
    jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all jay@moduscreate.com is a name known to all

      0  

    Default


    The only thing I see wrong is the formatting of your code. I don't even see how you're trying to instantiate the marketPanel class.

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

      0  

    Default


    This is how I'm instantiating the class in the parent
    Code:
     items: [	{
    		xtype:'chartPanel',
            title: _s('Chart'),
            iconCls: 'chart',
    		layout:'card',
           },
    		{
    		xtype:'marketPanel',
            title: _s('market'),
            iconCls: 'market',
    		layout:'card',
    		id:'market'
    	  },

Thread Participants: 1

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