2 Replies Latest reply on Dec 1, 2005 10:11 AM by Richard Louapre

    Portlet and Iframe not correctly displayed

    Richard Louapre Newbie

      Hi,

      I'm using JBoss Portal 2.0.

      I have built a portlet using an iframe:

      <table border="0" width="100%" height="100%">
       <tr>
       <td>
       <iframe id="reference" name="reference" width="100%" height="100%" frameborder="0" marginheight="0" marginwidth="0" src="http://www.google.com" ></iframe>
       </td>
       </tr>
      </table>
      

      From JBoss Portal wtih default theme, the iframe is not render (it seems like hidden), if a remove the height attribute in the iframe, it is displayed (but half of the table height.

      I have tested it from another portal, the iframe is render correctly (it takes the full size of the table).

      How can I fix that?

      Many thanks.

      Ciao,
      Richard.