I have a simple component which contains an iFrame. The jsp page contains only the following:
<iframe src="http://www.google.com" width="100%" height="500" frameborder="0"></iframe>
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!
For components like this where the right-click menu doesn't work, it's best to use the editbar layout. See http://dev.day.com/docs/en/cq/current/developing/components.html#Configuring%20with%20cq:E ditConfig%20Properties