Search Type: Posts; User: livensnick

Search: Search took 0.01 seconds.

  1. Well this is not possible for me. I add components dynamically. And I need to copy the configuration including the dynamically added components.
  2. Hi all,

    I got the following situation. I create some components dynamically which are inserted after the viewport has been rendered. This is all successful. But when I try to insert such a...
  3. Well, I changed my rest service so that it now throws a bad request status (400).
    And still the success handler is called, so I really think this is a bug within ExtJS.

    EDIT : This is not an...
  4. Ext version tested:

    Ext 4.1
    Browser versions tested against:

    IE9 (so probably lower then IE9 too)
    Description:

    When submitting a form, the failure handler is never called
    Steps to...
  5. Replies
    16
    Views
    1,449
    I didn't try the setProxy of the model before you brought it up. But this one failed too, same problem.
    I'll just keep the workaround until there is a fix =)

    Thanks for all the help skirtle ;)
  6. Replies
    16
    Views
    1,449
    When hardcoding a proxy. It fills the fields fine..
    So now the problem is, what is wrong with setting the proxy after store is created, and load data?

    I'll post a solution if I find one ^^
  7. Replies
    16
    Views
    1,449
    The JSON I pasted is the one from the Network tab ;)
    And the code you pasted about setting the url is really handy. Thanks for that :)

    But still stuck on the store thingy. I really don't know...
  8. Replies
    16
    Views
    1,449
    I retrieved the wms and geoserverUrl values like this (but both were always null) :



    for ( var i = 0; i < layerStore.getCount(); i++ ){
    var layerAttr = layerStore.getAt(i).data;
    if (...
  9. Replies
    16
    Views
    1,449
    I made a temporary hack which does fill in the fields I require :


    var layerStore = this.getStore('be.rwo.dataviewer.store.Layers');
    //Temporary hack because store doesn't autobind...
  10. Replies
    16
    Views
    1,449
    When you debug javascript through google chrome developer tools, you can see what a store contains.
    Or you could just do like : console.debug(myStore.data.items) which contains the data loaded
  11. Replies
    16
    Views
    1,449
    Sorry, what I didn't mention is that I change the store proxy dynamically with this code :


    setStoreProxy: function(storeName, restUrl) {
    var store = this.getStore(storeName);
    ...
  12. Replies
    16
    Views
    1,449
    When I retrieve the store, I just look at the data it contains ;)
  13. Replies
    16
    Views
    1,449
    Hi all,

    I have the following store :

    Ext.define('be.rwo.dataviewer.store.Layers', {
    extend: 'Ext.data.Store',
    model: 'be.rwo.dataviewer.model.Layer',


    autoLoad: true,
  14. Replies
    7
    Views
    3,627
    Exactly the same problem I had ;)
  15. Fixed the problem. The solution is just to create a dummy proxy like this :

    proxy: {
    type: 'ajax',
    api: {
    read: 'dummy'
    }
    }

    Then the row won't get masked...
  16. Hi all,

    I got 2 grids with the exact same code, the only difference is that they use a different store. Example grid :


    Ext.define('be.rwo.dataviewer.view.LayerGrid', {
    extend:...
  17. Replies
    7
    Views
    3,627
    Found the solution, for anyone who is interested or has the same problem :


    Ext.override(Ext.LoadMask, {
    onHide: function() {
    this.callParent();
    }
    });
  18. Replies
    7
    Views
    3,627
    Bump :)
  19. Your problem is the Ext.getCmp('SelectionRd') will try to find a component with ID 'SelectionRd' which does not exist.
  20. Replies
    7
    Views
    3,627
    Hi all,

    Here's the scenario :
    I got one combobox (combobox1). Data is loaded through a store.
    I got two other comboboxes who rely on combobox1. So when I select a value in combobox1, I change...
Results 1 to 20 of 20