cancel
Showing results for 
Search instead for 
Did you mean: 

How to hide menu bar / tool bar from URL iView displayed in IE

Former Member
0 Kudos

Hi Experts,

In my portal, I have created one URL iView. When the users click on a link, the ouput is shown on IE. The customer is very demanding. They don't want to see the IE standard Menu bar and tool bar. Can you please let me know how to hide menu bar / tool bar. Nothing other than the report should be shown to the users.

Regards,

Stuart

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can develop a portal application.

In NWDS create a new portal application project.

Then, select new --> other --> portal application project

Select the your project

Select portal Component --> DynPage

Now you have your portal applicatíon component. Add the libs that you need

In the class that extends of PageProcessorComponent add in the doProcessBeforeOutput() method the next code:

IsolatedHtmlContainer ihc = new IsolatedHtmlContainer("isohtmlCont");

ihc.setWidth("400");

ihc.setHeight("200");

ihc.setSrcURL("http://www.yourpage.com");

ihc.setScrolling(Scrolling.AUTO);

ihc.setBordered(true);

ihc.setTooltip("An isolated container");

form.addComponent(ihc);

Deploy the par file and then you have to create a iview from this par. Set the field Start in a new window --> Show in a independ window (whitout header)

I hope that this is ok.

Regards,