Skip to Content
avatar image
Former Member

Fire an event from a DC to another DC

Hi all,

I have the following problem:

I have 3 different DC included in a Web Dynpro page. The DC 1 has a table with some PERS_CODE and on selection of one row of this table the DC 2 refresh its content with data of the new selection of PERS_CODE.

Now I must implement the DC 3 with the same logic of DC 1 and DC 2, but unfortunately I can't see source code of DC 1.

I've only seen into source code of DC 2 in which there is a public part imported (I think from DC 1) with the option "manual" (not createOnDemand).

I think I can import into DC 3 the same public part to read PERS_CODE but how can I raise the event from DC 2 to DC 3 in order to refresh DC3's content?

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 15, 2008 at 08:12 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 15, 2008 at 08:41 AM

    Hi,

    how can I raise the event from DC 2 to DC 3 in order to refresh DC3's content?

    Create an event in the interface controller of DC2

    Use Dc dependency -> DC2

    Add DC2 as depended dc

    Subscribe the event in the component controller of DC3.

    Regards

    Ayyapparaj

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 25, 2008 at 09:04 AM

    Sorry,

    maybe I explained my problem in a bad way. I'll try to clarify.

    I have 2 main DCs bound. Now from DC2 I have to read the Context of DC1 (which is bounded to another application).

    How can I do this?

    Best regards,

    Raffaele

    Add comment
    10|10000 characters needed characters exceeded