Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Unable to get a pointer to this item's focus element

    I have a form with a bunch of boolean fields and when it initially loads I get the following Warnings:

    Code:
    10:04:07.622:XRP9:WARN:RPCManager:sendQueue called with no current queue, ignoring
    10:04:07.675:XRP9:WARN:RPCManager:sendQueue called with no current queue, ignoring
    10:04:08.023:RDQ1:WARN:CheckboxItem:isc_CheckboxItem_38:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    10:04:08.034:RDQ1:WARN:CheckboxItem:isc_CheckboxItem_39:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    10:04:08.041:RDQ1:WARN:CheckboxItem:isc_CheckboxItem_40:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    10:04:08.048:RDQ1:WARN:CheckboxItem:isc_CheckboxItem_43:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    10:04:08.056:RDQ1:WARN:CheckboxItem:isc_CheckboxItem_44:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    10:04:08.066:RDQ1:WARN:CheckboxItem:isc_CheckboxItem_47:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    10:04:08.075:RDQ1:WARN:CheckboxItem:isc_CheckboxItem_48:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    10:04:08.085:RDQ1:WARN:CheckboxItem:isc_CheckboxItem_49:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    10:04:08.096:RDQ1:WARN:CheckboxItem:isc_CheckboxItem_52:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    10:04:08.107:RDQ1:WARN:CheckboxItem:isc_CheckboxItem_53:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    10:04:08.119:RDQ1:WARN:CheckboxItem:isc_CheckboxItem_54:Attempting to apply event handlers to this item. Unable to get a pointer to this item's focus element
    10:04:08.134:RDQ1:WARN:Element:Element.$yw passed bad parameters - returning 0
    10:04:08.147:RDQ1:WARN:Element:Element.$yw passed bad parameters - returning 0
    10:04:08.161:RDQ1:WARN:Element:Element.$yw passed bad parameters - returning 0
    10:04:08.175:RDQ1:WARN:Element:Element.$yw passed bad parameters - returning 0
    10:04:08.189:RDQ1:WARN:Element:Element.$yw passed bad parameters - returning 0
    10:04:08.205:RDQ1:WARN:Element:Element.$yw passed bad parameters - returning 0
    10:04:08.222:RDQ1:WARN:Element:Element.$yw passed bad parameters - returning 0
    10:04:08.238:RDQ1:WARN:Element:Element.$yw passed bad parameters - returning 0
    10:04:08.255:RDQ1:WARN:Element:Element.$yw passed bad parameters - returning 0
    10:04:08.273:RDQ1:WARN:Element:Element.$yw passed bad parameters - returning 0
    10:04:08.460:XRP7:WARN:Log:firing the callback from global eval with...
    10:04:08.489:XRP7:WARN:Log:viewLoader is:[ViewLoader ID:isc_ViewLoader_8]
    10:04:08.538:XRP7:WARN:drawing:isc_VLayout_98:Attempt to draw child of an undrawn parent - ignoring [Stack trace not supported in this browser]
    10:04:08.789:XRP0:WARN:RPCManager:sendQueue called with no current queue, ignoring
    10:04:08.854:XRP0:WARN:RPCManager:sendQueue called with no current queue, ignoring
    10:04:09.036:XRP0:WARN:Log:firing the callback from global eval with...
    10:04:09.063:XRP0:WARN:Log:viewLoader is:[ViewLoader ID:isc_ViewLoader_10]
    10:04:09.233:XRP0:WARN:DynamicForm:formClearAddShowsToUGsList:colWidths Array longer than numCols, using only first 1 column widths
    10:04:09.742:XRP0:WARN:RPCManager:sendQueue called with no current queue, ignoring
    10:04:10.756:RDQ0:WARN:DynamicForm:formClearAddShowsToUGsList:colWidths Array longer than numCols, using only first 1 column widths
    10:04:11.880:XRP5:WARN:parseXML:Error parsing XML: XML Parsing Error: no element found
    Location: http://localhost/admin/admin.aspx
    Line Number 1, Column 1:
    ^
    10:04:11.908:XRP5:WARN:Log:TypeError: _5 is null
    10:04:13.460:null[E]:WARN:Element:Element.$yw passed bad parameters - returning 0
    10:04:13.488:null[E]:WARN:Element:Element.$yw passed bad parameters - returning 0
    10:04:13.514:null[E]:WARN:Element:Element.$yw passed bad parameters - returning 0
    10:04:13.539:null[E]:WARN:Element:Element.$yw passed bad parameters - returning 0
    10:04:13.566:null[E]:WARN:Element:Element.$yw passed bad parameters - returning 0
    10:04:13.592:null[E]:WARN:Element:Element.$yw passed bad parameters - returning 0
    10:04:13.619:null[E]:WARN:Element:Element.$yw passed bad parameters - returning 0
    10:04:13.645:null[E]:WARN:Element:Element.$yw passed bad parameters - returning 0
    10:04:13.674:null[E]:WARN:Element:Element.$yw passed bad parameters - returning 0
    10:04:13.702:null[E]:WARN:Element:Element.$yw passed bad parameters - returning 0

    I'm trying to figure out how to go about debugging this, but I'm not sure where to start. I figure that it's possibly because of the layout of the form or because when the form loads, it is disabled and not editing any records.

    Here's the layout of the form and it's containing tabset:

    Code:
    
    
    
    isc.DynamicForm.create({
    ID: "usergroupAdminPermissionsForm",
        useAllDataSourceFields:false,
        autoDraw: false,
        disabled: true,
        dataSource: DSvuUsergroupPermissionPivot,
        width:"100%",
        numCols:3,
        colWidths:[200,100,"100%"],
        margin:10,
        overflow: "auto",
        cellPadding:3,
        autoFocus:false
    });
    
    
     usergroupAdminPermissionsForm.setFields([
        { defaultValue: "Cart Permissions", type: "section", sectionExpanded: true,
            itemIds: [
                "CartCreate", "CartEmail", "CartDownload"
            ]},
    
        { name: "CartCreate", title: "Create Cart", type: "boolean" },
        {name: "CartEmail", title: "Email Cart", type: "boolean" },
        { name: "CartDownload", title: "Download Cart", type: "boolean" },
    
    
    
        { defaultValue: "Search Permissions", type: "section", sectionExpanded: true,
            itemIds: [
                "SearchEmail", "SearchDownload"
            ]
        },
        
        {name: "SearchEmail", title: "Email Searches", type: "boolean" },
        { name: "SearchDownload", title: "Download Searches", type: "boolean" },
    
        { defaultValue: "Admin Permissions", type: "section", sectionExpanded: true,
            itemIds: [
                "AdminAccess", "AdminManageFiles", "AffiliateNewsAdmin"
            ]
        },
        
        
        {name: "AdminAccess", title: "Admin Access - General Admin access to the system.", type: "boolean" },
        { name: "AdminManageFiles", title: "Manage Files - Users are allowed access to all shows and full access to editing files. (Full Admin Access)", type: "boolean" },
        {name: "AffiliateNewsAdmin", title: "Affiliate News Admin - Ability to access the Affiliate News Admin screen.", type: "boolean"},
        //    {name: "AdminDivSettings", title: "Admin Div Settings", type: "boolean" },
    
       {defaultValue: "Global Permissions", type: "section", sectionExpanded: true,
       itemIds: [
                "GlobalLinkVerify", "GlobalEmailusers", "GlobalCoop"
            ]
        
        },
        
    
        {name: "GlobalLinkVerify", title: "Link Verify - Allow users to mark emailed carts and searches as verification required.", type: "boolean" },
        {name: "GlobalEmailusers", title: "Email users - Users in this usergroup can email directly to other users and access lists in the emailer.", type: "boolean" },
        { name: "GlobalCoop", title: "Co-op Access - Access to the co-op section.", type: "boolean" },
        
    //    {defaultValue: "Screeners", type: "section", sectionExpanded: true,
    //        itemIds: [
    //            "ScreenerAccess"
    //        ]
    //    
    //    },
    //    { name: "ScreenerAccess", width: 235, title: "Screener Access", type: "integer",
    //        valueMap: {
    //            "0": "No Screener Access",
    //            "1": "Screener Access Level 1",
    //            "2": "Screener Access Level 2",
    //            "3": "Screener Access Level 3",
    //            "4": "Screener Access Level 4",
    //            "5": "Screener Access Level 5"
    //        }
    //    },
        { name: "usergroupAdminPermissionsFormsavebtn", editorType: "button", align: "center", width: 75, title: "Save", click: "usergroupAdminPermissionsForm.saveData()", startRow: true, endRow: true }
        
        ]);
    
    
    
    isc.TabSet.create({
    ID: "UsergroupEditTabset",
    width: "100%",
    tabs: [
        {ID:"UsergroupEditTab", title: "Edit Group", pane:usergroupAdminEditForm, width: 100},
        {ID:"UsergroupUsersTab", title: "Users", pane:usergroupAdminUserList, width: 100},
        {ID:"UsergroupShowsTab", title: "Shows", pane:usergroupShowsTree, width: 100},
        { ID: "UsergroupPermissionsTab", title: "Permissions", pane: "usergroupAdminPermissionsForm", width: 100 }
    ]
    });
    
    
    isc.SectionStack.create({
    	ID:"usergroupAdminRightSideLayout",
    		backgroundColor:"white",
    		width: "100%",
    		height: "100%",
    		visibilityMode:"multiple",
            animateSections:true,
            autoDraw: false,
    		sections:[
        	    {title:"Usergroup List", autoShow:true, items:[
    			        usergroupAdminUsergroupList		        
    			]},
                {title:"Usergroup Details", overflow:"auto", autoShow:true, items:[
                    isc.HLayout.create({
                        width: "100%",
                        members: [
                            
                           UsergroupEditTabset 
                            
                           
                        ]
                    })
                
                         
                ]}
    	    ]
    });
    Thanks in advance

    Paul
Working...
X