Skip to Content
avatar image
Former Member

IWDPageService - Need information

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

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Jan 23, 2009 at 03:12 PM

    hi,

    use th following link,

    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/1aa4d188-0e01-0010-2382-c5c65202c433

    also refer to this post (for ARRAY BEING EMPTY).

    Null Pointer error with IWDPageService

    Regards

    Jayapriya

    Add comment
    10|10000 characters needed characters exceeded