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

shared memory

Hi Community,

I got a question. Is it possible to save an Object in a shared memory storage (each view should have access to this), initialize it in one view and read it in another view? So i could avoid sending complex data from one view to another via plugs. Thanks for answering, regards, Robert.

Add comment
10|10000 characters needed characters exceeded

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Aug 05, 2004 at 09:04 AM

    Hi Robert,

    the transient data store in Web Dynpro is the context. If you want to exchange data between different views, it's sufficient to create and fill a context in a controller, which both views are able to access. E.g.:

    1. Create the necessary data structures in a custom controller or the component controller.

    2. Map the corresponding context nodes of the view controller to the nodes of this controller context.

    Result is, that both views share the data stored in the mapped context.

    Hope that helps.

    Regards

    Stefan

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Robert,

      i'm not quite sure what you mean with "Persistence Project". Is it a Dictionary project holding the tables, structures and simple types or a J2EE project?

      Is the Java class you mention something like an entity bean, a session bean?

      Regards

      Stefan