Skip to Content
author's profile photo Former Member
Former Member

Communication between two pages


Our first page of our web site is a portal page that contains different iviews. One of the iviews hold news and when I click on one of these news item links I would like to open a completely new page (in same window _SELF) with different iviews that displays the correct news item (also another component).

So when clicking the link, the new page opens and then I have to retrieve the value of the correct news item. Load the correct item into a bean and then write it out in the iview.

Which is the best solution for this?

I have tested with the traditional html tag <href> that points directly to the portal page. The portal page opens correctly. The problem is that I can't use the event handler to set a value in a session variable that I later in the the second page can retrieve.

When I use the htmlb link (hbj:link) and use the onClick event I can set the session variable, but then the reference is ignored and I can't open the second portal page.?

I also can send my document id in the url. The problem is that when I catch it in the jsp file at the second page it is to late. I want to retrieve the correct item from the repository and store it in a bean, and then fetch the value and present it in the JSP file.

Does anyone know how to solve this the best ways? There are no roles included and the pages and iviews are configured as anonymous.

Brgds// -Fred

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Feb 20, 2004 at 11:54 AM

    Hi Fred,

    see my Tutotial for client side eventing: portal 6.0 - client framework tutorial

    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.