1 Reply Latest reply on Aug 16, 2012 4:59 PM by justin_at_adobe

    iFrame component can't be deleted once added to page

    deepbluez Level 1

      I have a simple component which contains an iFrame. The jsp page contains only the following:

       

      <%@include file="/libs/foundation/global.jsp"%>

       

      <div>

      <p align="center">  

            <iframe src="http://www.google.com" width="100%" height="500" frameborder="0"></iframe>   

      </p>

      </div>

       

      Here comes the problem:

       

      Right click on the component it can't be deleted, the usual CQ 'edit' menu box did not come up as with other compoents. Removing the iframe block in jsp will bring the 'edit' menu box back. So I'm certain it is caused by the iframe.

       

      I know there's a default 'external' component but it does not fit our purpose. The page we will include will bring back a list of hrefs which will NOT work through 'external', therefore I'm building a simple iframe component.

       

      Thanks very much for any advices!