Hybrid View

  1. #1
    Sencha User
    Join Date
    Sep 2010
    Posts
    73
    Vote Rating
    0
    JanVenekamp is on a distinguished road

      0  

    Default SDK-tools create jsb don't parse my app files.

    SDK-tools create jsb don't parse my app files.


    When creating a jsb file:
    Code:
    sencha create jsb -a http://localhost/dev/index.php -p app.jsb3
    Of an MVC application with in index.php:
    Code:
    <script type="text/javascript" src="ext-4.0.2a/ext.js"></script>
    <script type="text/javascript" src="app.js"></script>
    The generated app.jsb contains the Ext library js files, but not my app files except from app.js

    When looking in firebug I see the Ext files loaded through XHR requests while my app files are loaded through "DOM inserts". Checking Ext.Loader.history gives all my app files.

    Anybody knows what I'm doing wrong?

  2. #2
    Touch Premium Member
    Join Date
    Aug 2007
    Posts
    21
    Vote Rating
    0
    vamsee.k is on a distinguished road

      0  

    Default


    I faced a similar problem, hope my work around solves your problem as well.

    If you are launching your application by calling "Ext.application({});", try changing it to "Ext.create('Ext.app.Application', {})". If that doesn't solve your problem, have explicit Ext.require([]); (pass your application "requires" property value here - add the controllers also) invocation before instantiating the application object.

    Hope that helps.

Thread Participants: 1

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar