1. #1
    Sencha User
    Join Date
    Mar 2012
    Posts
    104
    Answers
    4
    Vote Rating
    0
    izak18 is on a distinguished road

      0  

    Default Unanswered: files structure, function, calling

    Unanswered: files structure, function, calling


    Hi everybody, I have a question, I'm new in ST2 but I made some aplications in ST1, I have a doubt ... in ST1, I used for example:

    index.html
    Code:
    <!doctype html><html>
    <head>
    <!-- CSS -->
    <link rel="stylesheet" href="resources/css/sencha-touch.css" type="text/css" />
    
    
    <!-- LIB -->
    <script type="text/javascript" src="resources/lib/sencha-touch.js"></script>
    
    
    <!-- APP -->
    <script type="text/javascript" src="src/views/loginViews/loginView.js"></script>
    <script type="text/javascript" src="src/index.js"></script>
    
    
    </head>
    <body>
    </body>
    </html>
    index.js
    Code:
    Ext.setup({    
        onReady: function() 
        {
    		loginView = new loginView();
        }
    });
    loginView.js
    Code:
    loginView = Ext.extend(Ext.Panel,{
    	fullscreen: true,
    	layout: 'fit',
    	......
    });
    
    
    Ext.reg('loginView', loginView);
    But that doesn't work in ST2. What do I have to change to have a similar structure in ST2?
    Thanks in advance.

  2. #2
    Sencha User tobiu's Avatar
    Join Date
    May 2007
    Location
    Munich (Germany)
    Posts
    2,669
    Answers
    130
    Vote Rating
    110
    tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all tobiu is a name known to all

      0  

    Default


    take a look at:
    http://localhost/sencha-touch-2.0.1....upgrade_1_to_2

    the other guides are also usefull to get you familiar with the latest version.
    Best regards
    Tobias Uhlig
    __________

    S-CIRCLES Social Network Engine

  3. #3
    Sencha User bluehipy's Avatar
    Join Date
    Mar 2010
    Location
    Romania
    Posts
    606
    Answers
    66
    Vote Rating
    26
    bluehipy will become famous soon enough bluehipy will become famous soon enough

      0  

    Default


    http://docs.sencha.com/touch/2-0/#!/guide



    b
    ut it is a very very big difference between ST1 and ST2, take your time with the docs

  4. #4
    Sencha User
    Join Date
    Mar 2012
    Posts
    104
    Answers
    4
    Vote Rating
    0
    izak18 is on a distinguished road

      0  

    Default


    Quote Originally Posted by bluehipy View Post
    http://docs.sencha.com/touch/2-0/#!/guide
    b
    ut it is a very very big difference between ST1 and ST2, take your time with the docs
    You' re soooo right !
    Thanks for your links guys!

Thread Participants: 2

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