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});
}
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!!!
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!!!
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!!!!