1. #1
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,402
    Vote Rating
    300
    ssamayoa can only hope to improve

      0  

    Default Controller inheritance?

    In my current project need to extend an already existing controller.

    I tried with the usual way: drag & drop then select "link".

    After that I cant select application node (TypeError: 'undefined' is not an object) and derivated controller shows no code and there is nothing I can do with it.

    Obviously controller inheritance is not supported and designer allowed me to d&d because (I guess) is a core functionallity.

    Controller inheritance will be supported?

    Regards.
    UI: Sencha Architect 3.x / ExtJS 4 & 5
    Server side: JEE / EJB 3.x / CDI / JPA 2.x/ JAX-RS / JasperReports
    Application Server: Glassfish / WildFly
    Databases: Oracle / DB2 / MySQL / Firebird

    If you like my answer please vote!

  2. #2
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,402
    Vote Rating
    300
    ssamayoa can only hope to improve

      0  

    Default Window can be extended

    Follow up:

    Windows can't be extend.

    This is the scenario:

    I'm working in a wizard window in MVC way: view + controller.

    But I realized that I will need another wizar window. Instead of copy/paste controller's flow code I tried first to extend a "Wizard controller". But I found that is not possible to do that. So I decided to create a "Window wizard" with all visual elements (title & toolbar) and flow code (inside the view) and via custom property the name of the xtype which contains the wizard pages. But I found that Windows can't be extend.

    What is the reason Window can't be extended?
    UI: Sencha Architect 3.x / ExtJS 4 & 5
    Server side: JEE / EJB 3.x / CDI / JPA 2.x/ JAX-RS / JasperReports
    Application Server: Glassfish / WildFly
    Databases: Oracle / DB2 / MySQL / Firebird

    If you like my answer please vote!

  3. #3
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Posts
    9,485
    Vote Rating
    136
    aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold aconran is a splendid one to behold

      0  

    Default

    You should not be able to drag an existing controller to the controllers node and then drop it.

    Controller inheritance may be supported in the future but will not be part of our 2.0 GA release.
    Aaron Conran
    @aconran

  4. #4
    Sencha Premium Member
    Join Date
    May 2010
    Location
    Guatemala, Central America
    Posts
    1,402
    Vote Rating
    300
    ssamayoa can only hope to improve

      0  

    Default

    Quote Originally Posted by aconran View Post
    You should not be able to drag an existing controller to the controllers node and then drop it.

    Controller inheritance may be supported in the future but will not be part of our 2.0 GA release.
    ACK.

    What about Windows?
    UI: Sencha Architect 3.x / ExtJS 4 & 5
    Server side: JEE / EJB 3.x / CDI / JPA 2.x/ JAX-RS / JasperReports
    Application Server: Glassfish / WildFly
    Databases: Oracle / DB2 / MySQL / Firebird

    If you like my answer please vote!

Thread Participants: 1