I am creating a custom Joomla! 1.5 component, and i wish to use iframes for any specific look at the component.I've attempted 2 techniques, but not one of them appears to operate.

The first is to apply JHTML::iframe function for example

JHTML::iframe('http://www.test.com','frame');

which fails (iframe does not come in browser. Checking the code with Firebug i recognized the iframe wasn't placed)

The 2nd one is to apply

<iframe src="http://www.test.com" name="frame"></iframe>

which still fails (iframe displayed, but empty)

any ideas?