Search Type: Posts; User: aatiis

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. 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...
  2. Nope, that doesn't help unfortunately. (It did work with the old SDK tools, but not with the Sencha Command).
  3. 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:...
  4. A possible fix is to override Ext.data.Connection.setOptions:



    Ext.override(Ext.data.Connection, {
    setOptions: function () {
    options = this.callOverridden(arguments);
    if...
  5. I tried overriding Ext.data.proxy.Rest.buildUrl, but it doesn't seem to help:



    ...
    buildUrl: function (request) {
    if (request.getMethod() === "DELETE") {
    ...
  6. 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:...
  7. 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...
  8. 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,...
  9. 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...
  10. 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) {
    ...
  11. Replies
    0
    Views
    560
    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...
  12. Replies
    2
    Views
    2,166
    Cool, sorterFn is what I've been looking for. Thanks for the help.
  13. Replies
    2
    Views
    2,166
    I need to shuffle a store, i.e. apply a random sorter. Something like



    myArray.sort(function () {
    return .5 - Math.random();
    });
    for arrays.
  14. Replies
    6
    Views
    1,089
    Here is your example, working as expected in JSFiddle.
  15. 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...
  16. Replies
    15
    Views
    3,893
    I also get the exact same error.
  17. 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...
  18. Replies
    4
    Views
    1,217
    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.
  19. Replies
    5
    Views
    837
    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...
  20. 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...
  21. 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,...
  22. Replies
    5
    Views
    837
    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.
  23. 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...
  24. Replies
    15
    Views
    3,893
    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...
  25. 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
Page 1 of 3 1 2 3