解决方案 »

  1.   

    标签没有闭合导致ext容器获取出错。。iframe不是单标签,要写完整的结束标签就不会出问题了html : "<iframe width=680px height=500px id='myframe'name='myframe' src='map.jsp'></iframe>",
      

  2.   

    就是楼上说的,改成下面就可以了
    还有你的height好像不够高,button按这个高度有点显示不全,设成height: 650就能完整看见了。
    如果你说报错,报的什么错?html : "<iframe width=680px height=500px id='myframe' name='myframe' src='map.jsp'></iframe>",不是这个问题
      

  3.   

    层次关系,有问题,我觉得。
    xtype:panel
    如果,里面有子项你至少得items:[xtype:'button']
    {xtype:'panel',
         items:[
           {xtype:'button' ,text:'添加'  },
          {xtype:'button' ,text:'删除' }
          ]
    }