Results 1 to 6 of 6

Thread: User extension is not rendered on canvas in Architect

  1. #1
    Sencha User
    Join Date
    Jul 2009
    Location
    Ukraine
    Posts
    8
    Answers
    1
    Vote Rating
    0
      0  

    Default User extension is not rendered on canvas in Architect

    Hello!


    There are some troubles with Architect while creating user extensions.


    I'm trying to create user extensions extended from Ext.window.Windows, but at this case my extension is not rendered on canvas in Architect. Otherwise, if I extend my extension from Ext.panel.Panel then it is rendered OK.


    I'd like to know where is trouble

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Answers
    506
    Vote Rating
    292
      0  

    Default

    Probably just a typo appearing here, you won't be able to extend Ext.window.Windows (trailing 's'). Are you seeing any errors? Here's a guide that might help:
    http://docs.sencha.com/architect/3/e...xtensions.html

  3. #3
    Sencha User
    Join Date
    Jul 2009
    Location
    Ukraine
    Posts
    8
    Answers
    1
    Vote Rating
    0
      0  

    Default

    No, I've checked, code is correct
    I had have typo in this post

    I'm trying to drug my component to Canvas, but anyway it's nor rendered. After I set up initialView in true, rendering has been done.


    after the switching off initialView - keeping to be rendered

  4. #4
    Sencha Premium Member
    Join Date
    Sep 2011
    Posts
    13
    Vote Rating
    0
      0  

    Default Can you say me what its wrong with this configuration files to make an extension

    I dont know what i am doing wrong, this is the configuration of my Package...

    package.json:

    {
    "name": "ABMStore",
    "type": "code",
    "creator": "Horus Software S.H.",
    "summary": "Base ABM Store Class",
    "detailedDescription": "This extension have all the Methods and Properties to make any Simple ABM Form.",
    "version": "1.0.0",
    "compatVersion": "1.0.0",
    "format": "1",
    "local": true,
    "architect": {
    "compatFrameworks": [
    "ext42"
    ],
    "classes": [{
    "definition": "ABMStore.Definition.js",
    "className": "Ext.ux.ABMStore",
    "js": [
    "ABMStore.js"
    ],
    "css": [
    ]
    }]
    },
    "requires": []
    }

    xX.Definitions.js

    {
    "classAlias": "widget.abmstore",
    "className": "Ext.ux.ABMStore",
    "inherits": "Ext.data.JsonStore",
    "autoName": "MyABMStore",
    "helpText": "Store for ABM forms",

    "toolbox": {
    "name": "Store for ABM Forms",
    "category": "Data",
    "groups": ["Data Stores"]
    },

    "configs": [{
    "name":"IDPHPController",
    "type":"string",
    "initialValue": "nada"
    },{
    "name":"ABMWindowId",
    "type":"string",
    "initialValue": "nada"
    },{
    "name":"whereNavCondition",
    "type":"string",
    "initialValue": "nada"
    }]
    }

    When i the install finish, only appears ABMStore (0) in the Extensions of the toolbox but nothing more and in the log of my arquitect there is a message saying 'something wrong with my definition file'.
    I hope you can help me. Thanks. Gonzalo.

  5. #5
    Sencha User
    Join Date
    Jul 2009
    Location
    Ukraine
    Posts
    8
    Answers
    1
    Vote Rating
    0
      0  

    Default

    Hello.
    Would someone share with me working code user extensions extended from Ext.window.Window?

  6. #6
    Sencha Premium Member
    Join Date
    Mar 2013
    Posts
    63
    Answers
    2
    Vote Rating
    2
      0  

Similar Threads

  1. Replies: 0
    Last Post: 5 Aug 2014, 11:49 PM
  2. Anybody interested in a Parse.com user extension for Architect?
    By ccg in forum Sencha Architect User Extensions/Templates
    Replies: 0
    Last Post: 5 Jun 2014, 10:16 AM
  3. Sencha Architect 3 not detecting user extension events
    By reproman in forum Sencha Architect 3.x: Q&A
    Replies: 2
    Last Post: 22 Mar 2014, 9:31 AM

Posting Permissions

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