extjs

Multiple file upload (client side)

无人久伴 提交于 2019-12-11 22:52:53
问题 I'm looking for multiple file upload component with alternative ways. I need HTML5, Flash and normal upload support, depended by device. I don't like FancyUpload, because it uses mootools and mootools is very big library. Also I can't use jQuery, because I'm writing on Ext js and it's not good idea to use two big library like jQuery and Ext js. I can write it myself but I don't have a time. If everyone knows any library like this, please post link here. Thanks! 回答1: I am a big fan of Plupload

Sencha touch production build errors

别等时光非礼了梦想. 提交于 2019-12-11 22:17:29
问题 Using touch 2.1.0 and Cmd 3.1.2.342 Whilst trying to create a production version of my sencha app, I get the following error: [WRN] C1003: Unsupported Ext.define syntax -- C:\wamp\www\touch-2.1.0\axis\nativ e\appname\touch\src\fx\TimingFunctions.js:109 [ERR] C2008: Requirement had no matching files (Ext.fx.TimingFunctions) -- C:\wa mp\www\touch-2.1.0\axis\native\appname\touch\src\fx\Abstract.js:959 [ERR] The following error occurred while executing this line: C:\wamp\www\touch-2.1.0\axis

How to show Moment JS formatted date in ExtJS field with xtype: 'datefield'

穿精又带淫゛_ 提交于 2019-12-11 22:11:32
问题 I have an ExtJS field as: field = { xtype : 'datefield', format : 'Y/m/d', draggable : true, allowBlank : true, pickerAlign : 'tr-br', getValue : function() { return this.getRawValue(); } }; This works fine and I get the date in the field in the specified format. I want to be able the parse the date coming in from the datepicker and then display the date in locale specific format. How do I do it? 回答1: field = { xtype: 'datefield', format: 'Y/m/d', draggable: true, allowBlank: true,

Minifying ExtJS and Tinymce

你。 提交于 2019-12-11 21:14:40
问题 I am using the TinyMCE plugin. When I try to build a production app with Sencha CMD, I am getting this error: com.sencha.exceptions.ExNotFound: Unknown definition for dependency : tinyMCE.WindowManager Does anyone know how to minify this? 回答1: found here a solution https://sencha-webstack1-1540763642.us-east-1.elb.amazonaws.com/forum/showthread.php?275091-Error-executing-sencha-app-refresh&p=1008593&viewfull=1 So for me works this: just put next lines into TinyMCETextArea.js // @define

Loading other angular apps within a shell angular application?

纵饮孤独 提交于 2019-12-11 20:54:58
问题 I am looking for way to load other angular applications within a shell angular application . The scenario is like different teams would build different angular apps, which should be loaded within a shell app the end user's would see. Much like a portal application allowing the user to switch between the apps using the shell. I am open to idea's and am looking for ways how this can be achieved in angular based applications. All the apps including the shell app would reside on the same host.

Ext JS Dependent combo box

女生的网名这么多〃 提交于 2019-12-11 20:44:36
问题 I am new to extJS, and trying to implement the following functionality: I have two select drop down menus, transformed using extJS. How can I make sure that if a value in one combo box is selected, the other value should be set back to some default value? Thanks. Edited: Code till now: Ext.onReady(function(){ var converted = new Ext.form.ComboBox({ typeAhead: true, triggerAction: 'all', transform:'id_Select1', width:600, forceSelection:true, emptyText:'Select' }); var convertedCdr = new Ext

how to change background color of all panels and containers of sencha touch 2 app

╄→尐↘猪︶ㄣ 提交于 2019-12-11 20:34:27
问题 I am trying to change theme of sencha application, i want to know how to change background color of all panels and containers of sencha touch app like touchstyle application I changed the title bar, tab panel color, but i don't know how to change the color of panel and container. 回答1: Set the style config. style: { background: 'red' } EDIT: You could set the cls config for your panel. E.g: cls: red-bg and in your stylesheet: .red-bg .x-panel-body{ background-color : red !important; } 回答2: Two

extjs4 how to display field multiple times

怎甘沉沦 提交于 2019-12-11 20:34:07
问题 I have an extjs form panel. Based on the value selected in the combo box, I need to display a fieldset multiple times. That is,display the field set once if value chosen is 1, twice if value chosen is 2. The problem that I am facing is that, the field set is being displayed only once. Since, I am changing the title of the fieldset, I can tell more clearly that the fieldset being displayed is the one in the last iteration of the for loop. However,I can see the log messages in the js console

Unable to generate android skeleton project from sencha touch because of stbuild exited with non-zero code : 7

╄→尐↘猪︶ㄣ 提交于 2019-12-11 20:25:41
问题 I have downloaded sencha command v4.0.4.84 , sencha touch2.4.0-commercial and have installed ruby 1.9.3p545 and installed sass and compass and ant and installed jdk 1.7 and set classpath ,path successfully in my windows 7 64 bit machine. PS : The problem i am facing is to Unable to generate android skeleton project from sencha touch example project. Steps I have tried Extracted the sencha touch 2.4.0 -commerical and then in the command prompt executed the following command D:\firstapp\touch-2

Customize Json.NET serialization to consider empty strings as null

主宰稳场 提交于 2019-12-11 20:19:55
问题 I have a stupid problem here. I'm developing a web application with ASP .NET MVC 4, EF5, and Ext JS (Sencha). The thing is, by design (I don't know why), Ext JS when doing ajax requests is converting js objects with null values to empty strings. I'll over simplify the example just for the sake of it. So if I have a variable in JavaScript icon_id : null When I get the JObject server-side it becomes icon_id : "" when I pass icon_id as the parameter for the request. So when I write icon_id