Search Type: Posts; User: aatiis
Search: Search took 0.03 seconds.
-
17 Dec 2012 5:12 AM
- Replies
- 4
- Views
- 431
Removing the
//<feature logger> and
//</feature> lines did the trick. Still, it would be much better if I wouldn't have to edit the ST2 source code to get the logger included in production... -
17 Dec 2012 5:08 AM
- Replies
- 4
- Views
- 431
Nope, that doesn't help unfortunately. (It did work with the old SDK tools, but not with the Sencha Command).
-
17 Dec 2012 4:47 AM
- Replies
- 4
- Views
- 431
I have a class that extends
Ext.log.writer.Writer. When I try to build my app with the Sencha Command, it gives me this error:
$PROJECT/.sencha/app/build-impl.xml:120:... -
28 Jul 2012 3:15 AM
- Replies
- 4
- Views
- 1,070
A possible fix is to override Ext.data.Connection.setOptions:
Ext.override(Ext.data.Connection, {
setOptions: function () {
options = this.callOverridden(arguments);
if... -
28 Jul 2012 3:02 AM
- Replies
- 4
- Views
- 1,070
I tried overriding Ext.data.proxy.Rest.buildUrl, but it doesn't seem to help:
...
buildUrl: function (request) {
if (request.getMethod() === "DELETE") {
... -
28 Jul 2012 2:56 AM
- Replies
- 4
- Views
- 1,070
Nope, that's not the case (though I know about the paging params, and I do disable them in some case.)
I have a model that has a REST proxy defined:
Ext.define("MyModel", {
extend:... -
28 Jul 2012 2:26 AM
- Replies
- 4
- Views
- 1,070
Using the REST proxy to remove an item fails on some servers that drop DELETE requests that contain a request body (App Engine is a good example).
How can I tell the REST proxy not to send any... -
24 Jul 2012 7:21 AM
- Replies
- 3
- Views
- 624
Solution seems to be to subscribe to the 'exception' event. Unfortunately the it doesn't seem to be possible to reference the response from the exception event handler, so it needs to be re-read,...
-
24 Jul 2012 1:48 AM
- Replies
- 3
- Views
- 624
A little digging around revealed that the callback is fired from
Ext.data.proxy.Server.processResponse()
…which does not set the "response" as a parameter when calling any callbacks.
It... -
24 Jul 2012 1:32 AM
- Replies
- 3
- Views
- 624
I'm trying to create a new model on the server, like this:
model = Ext.create("MyApp.model.MyModel", {
some: "data"
});
model.save({
callback: function (record, operation) {
... -
10 Jul 2012 2:19 AM
Jump to post Thread: Cache manifest caching issue by aatiis
- Replies
- 0
- Views
- 304
We're facing a problem with carriers that cache all GET requests regardless of their cache headers. When the app is loaded from a cache manifest after a false NoUpdate event, the users end up running...
-
24 Jun 2012 9:42 PM
Jump to post Thread: How to shuffle a store? by aatiis
- Replies
- 2
- Views
- 634
Cool, sorterFn is what I've been looking for. Thanks for the help.
-
22 Jun 2012 12:01 PM
Jump to post Thread: How to shuffle a store? by aatiis
- Replies
- 2
- Views
- 634
I need to shuffle a store, i.e. apply a random sorter. Something like
myArray.sort(function () {
return .5 - Math.random();
});
for arrays. -
11 Jun 2012 7:37 AM
Jump to post Thread: Navigation View by aatiis
- Replies
- 6
- Views
- 799
Here is your example, working as expected in JSFiddle.
-
11 Jun 2012 7:25 AM
- Replies
- 3
- Views
- 1,062
Odd, I tried to reproduce this in jsfiddle, and it works as expected.
Sorry for the false alarm, there must be something else that's causing the disappearing mask in our app. I'll report it when I... -
8 Jun 2012 9:54 AM
Jump to post Thread: Upgrading to 2.0.1.1 by aatiis
- Replies
- 15
- Views
- 2,590
I also get the exact same error.
-
8 Jun 2012 4:31 AM
- Replies
- 3
- Views
- 723
Exactly how do you "show" the view? Calling .show() on it should fire the "show" event, but if you're only switching between items in a card layout (e.g. by using Ext.Viewport.setActiveItem() or...
-
8 Jun 2012 4:28 AM
Jump to post Thread: button background by aatiis
- Replies
- 4
- Views
- 691
I think he means the span.x-button-label. That one is overflow: hidden by default and it is inline or inline-block iirc, so setting a height property would not change anything.
-
8 Jun 2012 1:44 AM
Jump to post Thread: Scale down selectfield picker by aatiis
- Replies
- 5
- Views
- 626
I was trying to do the same thing the other day, seems like the only way to do it is using custom CSS (or at least I didn't find any other way to do it). But later we added more options so I didn't...
-
8 Jun 2012 1:41 AM
- Replies
- 7
- Views
- 958
You simply don't use MyApp.app.mypropertyobject in things like config options for other classes, you use it in things like applySomething methods (at least that's how I do it; it does require a bit...
-
8 Jun 2012 12:55 AM
- Replies
- 7
- Views
- 958
Indeed other people have reported missing global variables in production builds. One solution would be not to use a global variable in the first place, but use a property on your application instead,...
-
8 Jun 2012 12:50 AM
Jump to post Thread: Scale down selectfield picker by aatiis
- Replies
- 5
- Views
- 626
usePicker: false
add this to the selectfield config and it will use what you have posted above on all devices.
See the docs for more details. -
8 Jun 2012 12:42 AM
- Replies
- 6
- Views
- 548
That looks somewhat hacky, but if it works for you, it's definitely better than writing hundreds of applySomething methods :)
So turns out that delaying the application creation did indeed break... -
7 Jun 2012 2:21 PM
Jump to post Thread: Upgrading to 2.0.1.1 by aatiis
- Replies
- 15
- Views
- 2,590
Just to confirm your report. The SDK version 2.0.1.1 seems to be working fine, but the latest SDK tools (2.0.0-beta3) do not seem to generate a correct production build when using this new SDK...
-
7 Jun 2012 2:08 PM
- Replies
- 6
- Views
- 548
You should require: your dependencies in your app, then the singleton should be built in in production.
Not sure, but deferring application creation might have broken the build script behaviour....
Results 1 to 25 of 60
