Hybrid View

  1. #1
    Sencha Premium Member sencha-dev2's Avatar
    Join Date
    Jun 2012
    Location
    France
    Posts
    59
    Answers
    2
    Vote Rating
    0
    sencha-dev2 is on a distinguished road

      0  

    Question Unanswered: Cannot get Ext.Ux.TabReorderer to work

    Unanswered: Cannot get Ext.Ux.TabReorderer to work


    Hi, I tried to implement the Ext.Ux.TabReorderer plugin in my app, but I can not get it to work. I put the file in public/js directory, and I have set "requires: ['Ext.Ux.TabReorderer']" in app.js .

    I also set in the file
    alias: 'plugin.tabreorderer'

    When I launch my app, it doesn't get to work, and worse, it only displays a blank page. I have two errors in the console (using Google Chrome) :

    Uncaught SyntaxError: Unexpected token '<' TabReorderer:1
    Resource interpreted as Script but transferred with MIME type text/html :
    "http://localhost/portage/public/Ux/TabReorderer.js? dc=1356681066084" ext-all-debug.js:5528

    I do not understand, as I haven't a 'Ux' directory. Please help.

  2. #2
    Sencha User talha06's Avatar
    Join Date
    Jul 2009
    Location
    Turkey
    Posts
    303
    Answers
    8
    Vote Rating
    0
    talha06 is on a distinguished road

      0  

    Default


    Because of the MVC architecture behind, it looks the path through the class name. If you don't want to use same path; you should set Ext.Loader paths like this:

    Code:
    Ext.Loader.setPath({
        'Ext.ux.upload' 	: './app/ux/upload',
        // other paths
    });
    "People will never forget how you made them feel."
    linkedin.com/in/talhakabakus

  3. #3
    Sencha Premium Member sencha-dev2's Avatar
    Join Date
    Jun 2012
    Location
    France
    Posts
    59
    Answers
    2
    Vote Rating
    0
    sencha-dev2 is on a distinguished road

      0  

    Default


    Thanks for help. It seems that I'm not able to set this path in the file, so, where must I set it ?

  4. #4
    Sencha User
    Join Date
    Jul 2011
    Location
    Pakistan
    Posts
    82
    Answers
    3
    Vote Rating
    2
    zonaib is on a distinguished road

      0  

    Default


    hi , i have set the path but its not working ...

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