on 05-18-2004 2:25 PM
Hello,
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.
Sunil
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");
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
This sounds like personalisation of an iView. Basically you should create an iView, with a personalisable property in the default.properties 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
D
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.