sencha-touch-2

Email form detail in Sencha Touch giving exception

假如想象 提交于 2020-01-11 13:18:28
问题 I have a form in my page. I want the form details, which are filled by user, to send on a particular email. Here is my Form: xtype: 'formpanel', width: 300, height: 900,//recommended for the build url: 'contact.php', scrollable:false, items:[ { xtype: 'textfield', name : 'name', label: 'Name', labelWidth:100 }, { xtype: 'textfield', name : 'Date of birth', label: 'Date of birth', maxLength: 10, labelWidth:120 }, { xtype: 'textfield', name : 'Nationality', label: 'Nationality', labelWidth:100

How to make carousel Infinite with dynamic data(using url) in sencha

筅森魡賤 提交于 2020-01-09 08:05:11
问题 Since 2 days, I am trying to create Infinite carousel with desired data but could not get it. I also tried Kitchen Sink (Touch Style) . My theme is also same as touch style. I have categories and If I click one category then display associated respective Words , which is more different carousel items. I don't know how many words are there. but I want to display 7 Words in one swiping view(If i have 35 then i need 5 view), which is carousel items, Just like kitchen sink(Touch style). Source:

Is Sencha Touch a UI framework that can (or should?) be used with PhoneGap?

こ雲淡風輕ζ 提交于 2020-01-07 08:52:53
问题 I'm planning to develop my first mobile app and wanted to leverage my skills as a web developer. Thus, I started to look at PhoneGap. In the process, I realized that I probably should use some sort of UI framework. It seems that jQuery Mobile has speed issues. Sencha Touch 2 supposedly is faster. So, I figured I should use PhoneGap + Sencha Touch 2. However, it's seems to be that Sencha Touch 2 is not a UI framework. It seems to be something similar to PhoneGap. I might be heading in the

Is Sencha Touch a UI framework that can (or should?) be used with PhoneGap?

给你一囗甜甜゛ 提交于 2020-01-07 08:51:19
问题 I'm planning to develop my first mobile app and wanted to leverage my skills as a web developer. Thus, I started to look at PhoneGap. In the process, I realized that I probably should use some sort of UI framework. It seems that jQuery Mobile has speed issues. Sencha Touch 2 supposedly is faster. So, I figured I should use PhoneGap + Sencha Touch 2. However, it's seems to be that Sencha Touch 2 is not a UI framework. It seems to be something similar to PhoneGap. I might be heading in the

SenchaTouch2 - NestedList - Title “cut off”

早过忘川 提交于 2020-01-06 18:44:14
问题 I've created a NestedList with some data inside .. everything works as expected. But there is one weird thing.. The last 2 characters of the title are always replaced with dots - I don't know why ... Any explanations? 回答1: According to http://www.sencha.com/forum/showthread.php?228621-Short-titles-in-title-bar-also-gets-clipped-with-text-ellipsis it it fixed in 2.1.0-b2 As far as I judge it is CSS issue, because on the real device (iPhone test) no such quirks Cheers, Oleg 回答2: This can be

How to upgrade Sencha Touch from 2.0.1.1 to 2.4?

给你一囗甜甜゛ 提交于 2020-01-06 14:13:30
问题 I would like to know if is possible to update a project done with Sencha Touch 2.0.1.1 to Sencha Touch 2.4. Any idea is welcome thanks! 回答1: You just need to run a command line from your project folder: sencha app upgrade <Path to Sencha Touch 2.4 SDK> I hope this will help you. ------------ EDIT --------------- Make sure: 1) You are running this command from inside the project folder. 2) Cross check the path mentioned. 来源: https://stackoverflow.com/questions/26099278/how-to-upgrade-sencha

getController() doesn't load file and doesn't fire init and lauch

跟風遠走 提交于 2020-01-05 12:34:11
问题 i want to load some controllers at runtime only in special cases. In this video http://de.slideshare.net/senchainc/mvc-in-depth-part-2-tommy-maintz/ is said that you can do this with getController. If the controller is not loaded at this time the file is loaded and init and launch of the controller are fired. But if i try this: var myController = this.getApplication().getController("MyController"); myController.test(); //-- Uncaught TypeError: Cannot call method 'test' of undefined

How to define global variable in sencha

一笑奈何 提交于 2020-01-05 09:21:57
问题 I am try to global variable in one entire view, could not done it. initialize : function(){ this.callParent(); this.nameValue=0; if(name="ram") this.nameValue=1; console.log("Test 1 -"+this.nameValue); }else { this.nameValue=0; console.log("Test 2 -"+this.nameValue); } } it would be access value form button tap like this: onSubmitButtonTap: function () { console.log("Button Tap Here"); console.log("Test Def-6-"+this.nameValue); } But i could not access it, it display always 0. I have gave

Sencha Touch 2: Ext.Msg.show and tapping anywhere to hide

江枫思渺然 提交于 2020-01-05 05:48:06
问题 I want to display the popup message without any buttons. The message disappears if you tap on it. The code works fine and was taken from Sencha Touch 2: tapping Ext.Msg.show that have no buttons, thank you Viswa. Ext.Msg.show({ title: 'Title', message: 'Some text goes here...', itemId : 'showMsg', buttons : [], listeners:[ { element: 'element', delegate: '', event: 'tap', fn: function() { this.hide(); } }] }); How to make it disappeared when you tap anywhere on the screen , not on the popup

Sencha touch Textfield hightlight behavior in Samsung Galaxy Tab

别等时光非礼了梦想. 提交于 2020-01-03 05:57:18
问题 While editing any textfield/textareafield in Sencha touch, the text field gets highlighted or focussed. This behavior is causing too many issues. The loading indicator and Alert appears behind the highlighted textfield as the text field remains focussed. This behavior is seen only in Samsung Galaxy Tab. The app behaves fine on iPad. Please let me know if it is possible to remove this highlighting effect. 回答1: Solution CSS: input[type="text"], input[type="password"]{ -webkit-user-modify: read