I have a View created


Code:
    Ext.define('Status.view.user.SummaryView',
    {
        //extend: 'Ext.view.View',
        extend: 'Ext.panel.Panel',
        alias: 'widget.buildsummaryview',
        autoScroll: false,
        tpl: new Ext.XTemplate(
            '<tpl for=".">',
            '<h1><center><b>Summary<br></b></center></h1>',
            '<iframe id="frame1" class="thumb-wrap" seamless="seamless" frameborder="1" style="width:100%; height:100%;" src="{testurl}"></iframe>',
            '</tpl>'
        ),
        itemSelector: 'div.thumb-wrap',
        emptyText: 'No Summary Data available'
    });
Here testurl is an external url which gets rendered in the view. Now I want to attach a Ext context menu within the iframe. I am not sure how to do this.

Code:
var context = new Ext.menu.Menu({
            items: [
                {
                    text: 'I like Ext',
                    checked: true
                }, '-', {
                    text: 'Custom context menu'
                }
            ]
        });