sencha-cmd

Dynamically Load Extjs Modular application

做~自己de王妃 提交于 2019-12-11 02:06:23
问题 I am in to developing a large client side app with very complex views on each modules using Extjs5. I have developed apps in Extjs but they all compile to a single app.js file. So based on the complexity of the views in all the app mockups I am estimating the size of the app will be around 20MB to 25MB even after compiled. I was thinking to split the modules as separate applications and create a master app with tabs or something, which triggered will be loading individual apps in a iFrame

Sencha Cmd broken: Why does 'app build' ignore any command line parameters?

不羁岁月 提交于 2019-12-10 22:25:16
问题 I've upgraded Sencha cmd to v4 and I used to be able to build to a specific archive path and destination path. This was crucial as the build server removes the source code folder and archive path for each build. I had the paths output on the IIS server away from the build server, so that they are never lost. However, my build process is failing now as the path parameters supplied to the sencha cmd don't do anything. If I type: Sencha help app build I get the following help: Syntax sencha app

Load app.js before rest of application

ⅰ亾dé卋堺 提交于 2019-12-10 15:43:32
问题 I'm trying to figure out how I can load app.js before allowing the user to get the actual application. What I'm attempting to do is load a user's configuration file before all of my class Ext.defines fire... the reason I want to do this is because the Ext.defines actually depend on values in the user's configuration. So for example, in an Ext.define, I could have the title property set to pull from this global user configuration var. And no, I don't want to have to go through and change all

Sencha build due to sass target

孤者浪人 提交于 2019-12-10 13:24:34
问题 I am trying to build a Sencha app but I am getting the following errors: [ERR] The following error occurred while executing this line: /Users/conor/Repositories/POS/pos/.sencha/app/build-impl.xml:286: The following error occurred while executing this line: /Users/conor/Repositories/POS/pos/.sencha/app/sass-impl.xml:280: The following error occurred while executing this line: /Users/conor/Repositories/POS/pos/.sencha/app/sass-impl.xml:286: Problem: failed to create task or type x-compass

How to create custom SASS in ExtJS for compiling with Sencha CMD

╄→гoц情女王★ 提交于 2019-12-08 04:09:11
问题 I have my application built with ExtJS 4.2.1 My app structure was generated using Sencha Cmd v4.0.1.45. Im using some custom CSS in my app to give personalized style so my XTemplate items and also Im using AwesomeFont and FamFam Sprites for icons. This is my resources directory in my app sencha cmd structure: App.css is a custom CSS BoxSelect.css is other custom CSS chooser.css is other custom CSS famfamfam.css is the CSS that will handle the famfam.png image sprite font.css is the CSS that

Sencha CMD: 404 errors when running built production version

有些话、适合烂在心里 提交于 2019-12-06 14:40:47
问题 I have converted my existing ExtJS 4.1.3 application to use the Sencha CMD recommended structure and tools. I created the structure first, then put my existing app JS files at the place where the single-page JS app should be located. I currently access the development version of my application at: {my-server-side-app-url}/sws/dt/index.jsp where sws is the Sencha workspace and dt is the Sencha single-page app. So far, no problems I believe. Then I run the command: sencha app build within my

Found extra positional argument package error on Sencha Touch build command

早过忘川 提交于 2019-12-06 14:03:59
问题 I am using Sencha touch 2.4.2 and Sencha Cmd is 6.0.2. I am using command sencha app build package I am getting following error on build Sencha Cmd v6.0.2.14 [ERR] Found extra positional argument package This question is already asked on https://de.sencha.com/forum/showthread.php?305473-Error-when-running-sencha-app-build-package&p=1116961&viewfull=1&langid=14 But there is no any answer . On issuing Below help Command sencha help app build lists following sencha app build [production|testing

Sencha CMD: 404 errors when running built production version

我与影子孤独终老i 提交于 2019-12-04 18:13:31
I have converted my existing ExtJS 4.1.3 application to use the Sencha CMD recommended structure and tools. I created the structure first, then put my existing app JS files at the place where the single-page JS app should be located. I currently access the development version of my application at: {my-server-side-app-url}/sws/dt/index.jsp where sws is the Sencha workspace and dt is the Sencha single-page app . So far, no problems I believe. Then I run the command: sencha app build within my app 's directory. This completes with several Yui Compressor Warning (Trailing comma is not legal in an

Using Sencha Cmd with dynamically loaded controllers

不想你离开。 提交于 2019-12-03 18:53:31
问题 I've created an application using Ext JS 4. controllers property in my app.js contains only the main controller: Ext.application({ name: 'MyApp', appFolder: 'app', controllers: [ "main.App" ], loadController: function(controller) { var oController = this.getController(controller); oController.init(this); oController.onLaunch(this); } }); MyApp.main.App controller loads additional controllers by name using getController() approach (see loadController() method). These controllers are loaded

Is there any way to disable “idProperty” of Model in Extjs?

偶尔善良 提交于 2019-12-02 08:43:19
问题 I have a simple Model/proxy. When I create a object of model to send to server via REST, ExtJs is generating Id and putting its value in my "id" field and that is conflicting with my data. Is there any way to stop this behavior or to solve this issue? I have read idProperty Sencha Docs but I am not able to solve my issue. Kindly Help. 回答1: I ran into same problem and using ajokn answer I did this. Ext.define('ThemeApp.model.peopleModel', { extend: 'Ext.data.Model', fields: [ {name: 'id', type