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

Sharing data between 2 components

Hi experts,

how can I share attributes from Component A and Component B ?

I habe integrated the Componente B in the Componente A. But if I want to map the nodes there are no content in the context from Component B.

Where have I to add the component and how can I map nodes from Component A to B ?

Thanks in advance...

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Dec 04, 2007 at 07:09 PM

    Hi,

    The context in <b>interface controller</b> can only be shared. You need map component controller of B to interface controller of B to component controller of A.

    Then you can share the data.

    regards,

    Siva

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 03:55 AM

    Hello,

    You need to check the 'interface' flag of the respective nodes of component B. This way, the nodes would be visible when B is a used component in component A.

    The use of 'interface' flag, is to specify that the respective nodes and methods are externally visible (part of interface controller).

    Hope this helps.

    Regards,

    Neha

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2007 at 12:37 PM

    Hi,

    In component B of component controller select the node then check 'Interface Node' check box in property. This is a pre-requesite for exposing data between components. Then in Component A, declare component B as used contrlled. Then in component comtroller A, you will be able to see Interface controller of component B. Then Map Node B with A.

    Reward point if useful.

    Regards,

    Karthick S

    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.