Skip to Content
author's profile photo Former Member
Former Member

PortalComponent / IFrame - Full size

Hello experts,

I've got a PortalComponent that displays another page inside an iframe.

public class FrameContainer extends AbstractPortalComponent
{
    public void doContent(IPortalComponentRequest request, IPortalComponentResponse response)
    {
	response.write("<iframe src=\"/link/to/my/app\" width=\"1012px\" height=\"100%\"></iframe>");
    }
}

I want it to dynamically display the inner page at 100% of the available height.

The problem is it only displays it at a height of an estimated 100 pixels. I already set the "Height Type" to "Full Page".

What else do I need to adjust?

Looking forward to your replies, sincerely,

Florian

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Apr 30, 2008 at 09:55 AM

    Hi,

    Did you set the Height Type to Full Page for IView or Page.

    So set this to both IView and Page.

    If this does not help try setting the scrolling="no" for IFrame.

    Regards,

    Praveen Gudapati

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 30, 2008 at 09:58 AM

    Please check the iview and page parameters under Appearance - Size

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Apr 30, 2008 at 10:28 AM

    Hello,

    I've already set 'Full Page' to both IView and Page. I also added the scrolling="no" to the iView, but it still doesn't work.

    Any other suggestions?

    Best regards,

    Florian

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.