1. #1
    Sencha User
    Join Date
    Nov 2012
    Posts
    21
    Vote Rating
    0
    Supriya Kale is on a distinguished road

      0  

    Default Unanswered: Error 'targetContext is undefined' while using 'fieldset'

    Unanswered: Error 'targetContext is undefined' while using 'fieldset'


    Hi,

    I am trying to use 'fieldset' but as soon as I set the 'collapsed' property to ' true' I get error 'targetContext is undefined' in Container.js at 'frameInfo = targetContext.getFrameInfo()'.
    Do we need to set something else too?

    Please find my code below:

    Code:
    {
                            xtype:'fieldset',
                            checkboxToggle:true,
                            name:'shouldAllowPasswordProtecteInvites',
                            id:'shouldAllowPasswordProtecteInvites',
                            title: 'Password protected invites',
                            collapsed: true,
                            disabled: true,
                            items:[{
                                xtype:'form',
                                items:[
                                    {
                                        xtype:'textfield',
                                        inputType: 'password',
                                        name:'invitePassword',
                                        fieldLabel: 'Enter Password'
                                    },
                                    {
                                        xtype:'textfield',
                                        inputType: 'password',
                                        fieldLabel: 'Renter Password'
                                    }
                                ]
                            }]
                        
                    }

  2. #2
    Sencha - Senior Forum Manager mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    St. Louis, MO
    Posts
    33,599
    Vote Rating
    435
    Answers
    3102
    mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of mitchellsimoens has much to be proud of

      0  

    Default


    What Ext JS 4.x.x version are you using? Not getting an error in 4.1.1 or 4.1.3
    Mitchell Simoens @SenchaMitch
    Sencha Inc, Senior Forum Manager
    ________________
    http://www.JSONPLint.com - Source to lint your JSONP!

    Check out my GitHub, lots of nice things for Ext JS 4 and Sencha Touch 2
    https://github.com/mitchellsimoens

    Think my support is good? Get more personalized support via a support subscription. https://www.sencha.com/store/

    Need more help with your app? Hire Sencha Services services@sencha.com

    Want to learn Sencha Touch 2? Check out Sencha Touch in Action that is almost in print!

    When posting code, please use BBCode's CODE tags.

  3. #3
    Ext JS Premium Member
    Join Date
    Sep 2008
    Posts
    25
    Vote Rating
    0
    info@ferraresegroup.com is on a distinguished road

      0  

    Default Same problem in 4.1.3

    Same problem in 4.1.3


    Hi all,
    same problem for me in ExtJs 4.1.3.

    ---------- FireFox Console --------------------------------
    TypeError: targetContext is undefined

    [IMG]chrome://firebug/content/blank.gif[/IMG] frameInfo = targetContext.getFrameInfo(),
    into ext-all-debug-w-comments.js (row 41928)

  4. #4
    Sencha User
    Join Date
    Nov 2012
    Posts
    21
    Vote Rating
    0
    Supriya Kale is on a distinguished road

      0  

    Default


    I am using 4.1.0

Tags for this Thread