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

Communication between IViews on same page

Different ways for communication between IViews renderd on same page.

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 16, 2004 at 04:29 PM

    (on behalf of Goran Jakovljevic)


    I am wondering is there a way to communicate Java Bean between two IViews located on same page.

    I considered EPCF framework, but as I understood it it is only possible to communicate strings using this mechanizm. I am employing EPCF to refresh content of one IView when there is an event in other IView, but I need more. I tried using session scope for beans, but it is not working because session is uniquly identified by 3 parameters (one of them includes component ID). Putting bean in HTTPSession also didn't work.

    Other solution I considered was using background portal service referenced from both IViews to temporary store bean from one view so other one can get it. (This proposition has a problem of expiring beans -- to simplify - when to declare that temporary bean does not have to be stored any more).

    I want to transfer more complex data, and to avoid string parsing (by putting all data in one string). So, if there is a solution to this problem, please suggest it. (short code samples would be appreciated).

    Best regards,


    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member


      this is one of my biggest problems while im writing my bachelor thesis about the ep6.

      one of the possible solutions that i know is using the client databag and store the values of the first i view in a hidden field in the second i view and force the second iview to reload.

      the second would be to write a special service which can be used to exchange the data in the server side. this would allow you to exchaneg any java datatyp, but you have to take care of session management.

      I think this is one of the biggest problems when you try to port an application into the ep 6, like i just did.

      We need some kind of workset- or page-bean for data exchange, or a dedicated server eventing.


  • author's profile photo Former Member
    Former Member
    Posted on Jul 01, 2004 at 07:29 PM

    I am also trying to share complex information between two iview components on the same page. Also, does eventing work if the iViews are on diffrent pages ( like popup windows) ??

    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.