Results 1 to 5 of 5

Thread: Object reference of two different files

  1. #1

    Exclamation Object reference of two different files

    Hi All,
    I am using ExtJS for one of my projects. In the project, I have two similar forms, scheduleForm and scheduleTemplate. Functionality of these forms are similar, and their elements are also same. I have kept variable names different. In my project, if I load scheduleForm or scheduleTemplate separately, they work fine. But if I load scheduleForm after opening (and closing) scheduleTemplate, the system keeps referring to objects in scheduleTemplate.

    To close the forms, I have called form.destroy and form.close. Theoritically, what I have understood is, if I call these functions, they will remove the scope of that form from the memory. So, after closing scheduleTemplate, if I open scheduleForm, it should work properly. But this isn't happening right now.

    Can anybody help me with this problem?

    I have attached xds and associated javascript files with this post.
    scheduleform_scheduleTemplate.zip

    Thanks in advance.

    Regards,
    Sushil

  2. #2
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379
    Answers
    3997

    Default

    Did you change any of the Designer files yourself?
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  3. #3

    Default XDS files

    No, I haven't done that. I use the designer to modify xds files.

  4. #4
    Sencha Premium User mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    40,379
    Answers
    3997

    Default

    Then I would ask this in the Designer forum to see what their code is doing wrong and so that they could fix something if something isn't 100% working.
    Mitchell Simoens @LikelyMitch

    Check out my GitHub:
    https://github.com/mitchellsimoens

    Posts are my own, not any current, past or future employer's.

  5. #5

    Default copy that

    Copy That!

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •