Results 1 to 6 of 6

Thread: controller config cannot remove.

    Wait! Looks like we don't have enough information to add this to bug database. Please follow this template bug format.
  1. #1
    Sencha Premium Member
    Join Date
    Dec 2012
    Posts
    66

    Default controller config cannot remove.

    I was unable to remove the value of 'controller' of Window component converted from extjs 4.2 to 5

  2. #2
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,488

    Default

    Can you provide the project to us or give us steps to reproduce?
    Aaron Conran
    @aconran

  3. #3
    Sencha Premium Member
    Join Date
    Dec 2012
    Posts
    66

    Default

    Drag a window component. On ViewController created, create new function using the 'Functions' config. You will see on the window component that it created 'controller' config automatically. Is there a way to remove that? I know that every window it should have view controller but sometimes we need to assign the controller on runtime.

  4. #4
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,488

    Default

    Once you modify the viewcontroller, we will automatically associate it with the view.
    Aaron Conran
    @aconran

  5. #5
    Sencha Premium Member
    Join Date
    Dec 2012
    Posts
    66

    Default

    Yes I know that is how it works, but here's the problem, the controller needs to be in full class name. How do we do that? If I use processConfig, the controller was still there which causes a problem because it tries to get the javascript on the application path which it was called.

  6. #6
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,488

    Default

    It is linnked via the alias. Could you give us an example where this fails?
    Aaron Conran
    @aconran

Posting Permissions

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