Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

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 a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    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 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.