Skip to Content
author's profile photo
Former Member

Re-usable iViews


I have a scenario in theory that i wish to implement technically. Not sure how.still researching on SDN though. Any help would be greatly appreciated. Thanks.

I have one Java Custom iView.

Create a par file and upload to the portal (EP5.0)

I have 5 external services that point to the same par file

The Java Custom iView should point a different external url depending on which of the 5 external service the user clicked on from within the portal.

This approach would prevent me from writing 5 iviews when really i should have one iview with some logic to control which external service the user clicked, determine that in the iview and then display the correct url in the iframe (which will be embedded in the jsp) respectively.

Hope this is clear. Any help or ideas is greatly appreciated. Thanks.


Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • Posted on May 19, 2004 at 01:01 PM


    This sounds like personalisation of an iView. Basically you should create an iView, with a personalisable property in the file. Then, when it is deployed, create 5 iViews based on the master iView. For each iView definition, change the property to reflect the URL that you want launched

    I hope this helps


    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on May 21, 2004 at 07:56 AM

    If you also don't want to create five different iviews, you could try looking at the HTTP referer to see which url the call came from.

    request is of IPortalComponentRequest class

    servletRequest = request.getServletRequest()

    String referer = servletRequest.getHeader("Referer");

    Add comment
    10|10000 characters needed characters exceeded