1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    20
    Vote Rating
    1
    Rajesh2u is on a distinguished road

      0  

    Default A doubt in Sencha Architect.

    A doubt in Sencha Architect.


    Hi Team,
    I like to add the two lines(Green color) in launch function using sencha Architect.
    But When I try to add those lines. I have a option to add those lines at the start of launch function and not at the end.

    Can someone help me how to add those lines after the statement Ext.create.
    ---------------------------
    launch: function() {
    Ext.create('MyApp.view.MyContainer1', {fullscreen: true});
    }

    --------------------------
    launch: function() { Ext.create('MyApp.view.MyContainer1', {fullscreen: true});
    var myContainer = Ext.getCmp('helloContainer');
    myContainer.update('Hello Again!');

    }

    Thanks,
    Rajesh

  2. #2
    Sencha User
    Join Date
    Dec 2011
    Posts
    154
    Vote Rating
    3
    coolfish is on a distinguished road

      1  

    Default


    All you have to do is unmark your starting view as the initial view. You can then create it yourself after you've done what you need to do.

  3. #3
    Sencha User
    Join Date
    Nov 2012
    Posts
    20
    Vote Rating
    1
    Rajesh2u is on a distinguished road

      0  

    Default


    Many thanks for taking time to provide the solution.
    And your solution is working great.

    Regards,
    Rajesh

  4. #4
    Sencha User
    Join Date
    Feb 2013
    Posts
    16
    Vote Rating
    0
    avrmraja is on a distinguished road

      0  

    Default Request to POST and GET data using any method(ajax)

    Request to POST and GET data using any method(ajax)


    Hi...
    Am new to sencha and just started working with sencha architect 2, I went through the docs about loading data using store, model, ajax and local storage but yet am not able to get it exactly..My question may look pretty simple but pls bear it and answer step by step:
    1. I designed a simple login page like(Views):

    - Mytabpanel
    -Login // tab1
    -MyContainer2
    -MyNavigationview1
    -Myformpanel1
    -Mytextfield1 // Username
    -Mypasswordfield1 //Password
    -mybutton1
    -tap onmybuttontap1 // Login button
    -abc label // should display error if both textbox left empty

    -Menu // tab2
    -Mynavigationview
    -Mycontainer
    -Mypanel
    -Mylist
    -item tpl // not able to edit the default list then saw example giving local storage using model,store and ajax request but am not clear about it...

    -Map //tab3
    -Mynavigationview
    -mycontainer
    -MyMap2 // which displays google maps API is required...

    My needs:

    1. Navigation view doesn't provide default back button
    2. When first list is pressed, it should navigate to next page comprising of another three or five list //// tab2
    3. When username and password field left empty and clicked login tap should display an error in label
    4. Finally how to retrieve data from sql server 2005 using ajax request then local storage using store and model...
    Please bear it and try to answer me, i have also attached zip if possible try to modify it..
    Thanks in advance!!!
    Attached Files

  5. #5
    Sencha User
    Join Date
    Feb 2013
    Posts
    16
    Vote Rating
    0
    avrmraja is on a distinguished road

      0  

    Default


    Hi...I managed to display data using a webservice url in list with navigation view in the designer but when it runs in browser it displays empty then upon some reference for cross domain heard JSONP should be used.. But not able to load data to store using jsonp.. It displays error "unable to load data with specified configuration".. I loaded model using rest proxy is ter any changes to be made..
    Thanks in advance!!!

  6. #6
    Sencha User
    Join Date
    Feb 2013
    Posts
    16
    Vote Rating
    0
    avrmraja is on a distinguished road

      0  

    Default Login page in sencha architect

    Login page in sencha architect


    Hii all!!!
    I have stuck with the login page i followed the steps given in the below link and got almost but not able to login
    http://docs.sencha.com/architect/2/#!/guide/views_forms_touch
    In my json file i have Name, id and Mobile so i used Name for username and Mobile for the password but am not able to login..
    From the above link i found that field name in config is one which is referring(i guessed since its mentioned "Change its name config to username") so i changed username field's name config to Name and password field's name config to Mobile but the result is login failed..I think from the code above it should display login is successful if username and password is correct..I just modified a little according to my json file that is Name in place of username and Mobile in place of password, yet the result is same(Login failed).. I have attached my json file as text format and my architect folder...Can anyone pls check it and tel me..
    Thanks in advance!!!!
    Attached Files

Thread Participants: 2

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..."