Results 1 to 2 of 2

Thread: Problem entering custom property

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member
    Join Date
    Dec 2011
    London, UK
    Vote Rating

    Default Problem entering custom property

    The TreeStore root node configuration is not exposed in the designer so I've been adding it as a custom property.

    root: {text: 'Name', id:'', expanded:false}

    Now I want to assign the 'id' property of the root node with the value of the global variable 'Ext.Photos.rootNode':

    root: {text: 'Name', id:Ext.Photos.rootNode, expanded:false}

    However the designer then treats the whole value as a string:

    root: '{text: "Name", id:Ext.Photos.rootNode, expanded:false}'

    It seems there are restrictions around the use of variables in custom properties:

    Ext.Photos (OK)
    Ext.rootNode (OK)
    Ext.Photos.rootNode (not OK)
    Photos.rootNode (not OK)

    Anything starting with 'Ext' is OK anything else causes the property to be converted to a string
    Only one level of object is allowed.

    Is this intended?

  2. #2
    Sencha User aconran's Avatar
    Join Date
    Mar 2007
    Vote Rating


    We don't yet support variables. They will be treated as strings.
    Aaron Conran

Posting Permissions

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