Skip to Content
0
Former Member
Jan 23, 2009 at 12:49 PM

IWDPageService - Need information

28 Views

HI,

I have one portal page which contains two iviews.I want to use IWDPageService for my requirement.

If I make right hand side iview invisible,then lefthand side iview should occpy the entire page.

Similarly if I make lefthand side iview invisible,then the entire page should be occupied by the right hand side iview.

I tried all possible way to do this.Please suggest me.Here is my sample code:-

IWDPageService pageService = (IWDPageService)

WDPortalUtils.getService(WDPortalServiceType.PAGE_SERVICE);

// String array receives iView names

String[] iViews = pageService.getVisibleIViews(); //-->Here I am getting the length of the array as 0

IWDPageService pageService = (IWDPageService)

WDPortalUtils.getService(WDPortalServiceType.PAGE_SERVICE);

// display iView Search

pageService.showIView("<iview ID>");

// hide iView Details

PLease suggest me.

Regards

-Sandip