I have a View created

        //extend: 'Ext.view.View',
        extend: 'Ext.panel.Panel',
        alias: 'widget.buildsummaryview',
        autoScroll: false,
        tpl: new Ext.XTemplate(
            '<tpl for=".">',
            '<iframe id="frame1" class="thumb-wrap" seamless="seamless" frameborder="1" style="width:100%; height:100%;" src="{testurl}"></iframe>',
        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.

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