Search:

Type: Posts; User: jmozley

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    8
    Views
    2,133

    Hi Mitchell, This does work: ...

    Hi Mitchell,

    This does work:



    onSelectCountry : function (countryCombo, countryArray) {

    var parentForm = countryCombo.findParentByType('form');
    var cityCombo =...
  2. Replies
    8
    Views
    2,133

    The following does not work: ...

    The following does not work:



    countryCombo.bindStore( countryArray[0].cities() );


    I did not see bindStore as a possible solution as it is not in the ExtJS docs as a method under...
  3. Replies
    8
    Views
    2,133

    Nope I'm still not following. I can now see that:...

    Nope I'm still not following. I can now see that:



    countryArray[0].cities()


    returns one store instance (with the correct child records via the model proxy).

    However, a combo (I thought)...
  4. Replies
    8
    Views
    2,133

    Hi Mitchell, So if I understand correctly by...

    Hi Mitchell,

    So if I understand correctly by using countryArray[0].cities().load() I am actually creating a new instance of the store, not updating the one associated with the cities combobox...
  5. Replies
    8
    Views
    2,133

    Linked combobox and model associations

    I have two combo boxes I want to use to select a parent and child based on a relationship such as country and city within the country. I've done this kind of thing with ExtJS 3 but am trying to use...
  6. Replies
    6
    Views
    1,741

    Thanks very much, this worked with the change...

    Thanks very much, this worked with the change shown below:



    control[this.formSelector + ' #submit'] = {
    click: me.submitForm
    };
    control[this.formSelector...
  7. Replies
    6
    Views
    1,741

    I have extracted the relevant code to a smaller...

    I have extracted the relevant code to a smaller app that replicates the problem. Below is the base controller and the controllers of two forms that extend this. I do now see the application object...
  8. Replies
    6
    Views
    1,741

    I can see that the ID of the button is the same...

    I can see that the ID of the button is the same in each submission if I log the arguments of the handler to the console as below:



    submitForm : function (button, event) {
    ...
  9. Replies
    6
    Views
    1,741

    Inherited controller issue

    I'm using the MVC framework and wanted to have all form views extend a base form view and all form controllers extend a base form controller. The idea being that the base controller will provide...
  10. Replies
    4
    Views
    2,035

    Many thanks for the reply SkyBlader. I understand...

    Many thanks for the reply SkyBlader. I understand that the config below will pass the parameters as you said.



    api : {
    create : 'cgi-bin/crud_script.pl?cmd=create', ...
  11. Replies
    4
    Views
    2,035

    I'm not sure I asked the right question to be...

    I'm not sure I asked the right question to be honest. What I was trying to work out is how a CGI script knows whether it should, for example, fetch or delete data if the same script is used for all...
  12. Replies
    12
    Views
    8,655

    I used the following in Validation.js ...

    I used the following in Validation.js



    Ext.define('MyApp.util.Validation', {

    singleton : true,

    // Validate a CIDR net
    cidrValidation : function() {
  13. Replies
    4
    Views
    2,035

    Indicating CRUD action to a backend script

    I am looking for what I expected to be a neater way to indicate to a store's URL script the type of operation it was called to perform. If I use the following in a proxy config within a store I can...
  14. And that is my problem, the example I've been...

    And that is my problem, the example I've been working on is 3.0. Change to 3.0 and it now works. Thanks.
  15. I am using 2.2.1.

    I am using 2.2.1.
  16. It was certainly not my intention to dump...

    It was certainly not my intention to dump everything onto a forum post.

    ctxMenu should be an Ext.menu.Menu object. According to the documentation I read the Ext.menu.Menu class has a getComponent...
  17. :"> Indeed, thanks for the quick response. ...

    :"> Indeed, thanks for the quick response.

    Looks like I screwed up trying to get a simple example for a post. I have gone back to the example and tried to re-check what I was doing to the point...
  18. Adding a context menu to a pre-configured class

    I am following the pre-configured class approach to organising an application and am struggling with adding a context menu.

    Within my class I have:



    this.on( 'contextmenu', this.onCtxMenu,...
  19. Thanks you for the quick response. I will watch...

    Thanks you for the quick response. I will watch the screencast.

    Thanks!
  20. Displaying a TreePanel with a Viewport Panel by adding

    I can display a tree as an 'items' with a Viewport panel but not when I attempt to 'add' to the panel.

    The following works (where myTree is my TreePanel) :



    collapsible: false,
    ...
  21. Replies
    3
    Views
    885

    That was it. Thanks very much for your help.

    That was it. Thanks very much for your help.
  22. Replies
    3
    Views
    885

    data not being displayed in a grid

    I am trying to get a grid to display data using the following code:


    Ext.onReady(function(){

    // create the Data Store
    var store = new Ext.data.Store({
    // load using HTTP ...
Results 1 to 22 of 30
Page 1 of 2 1 2