cancel
Showing results for 
Search instead for 
Did you mean: 

interface view

Former Member
0 Kudos

Hi all,

I have two Components Comp A & Comp B. Comp A have input field and view container. And B has table (o/p) view.

How to use the interface view technique to use the comp B by Comp A.

Else.

Could u please anyone brief the interface view with small examples

thanks& regards,

Venkat

Accepted Solutions (0)

Answers (4)

Answers (4)

former_member515618
Active Participant
0 Kudos

Hi Venkat,

Do the following in Comp B.

1. In the default main window of 'Comp B', go to properties tab and chech the 'Interface' Check box.

2. If the logic for filling the context node that holds the data to be displayed as Table in Comp B is done

in Comp B itself, then create a context nodes to take the input fields from Comp A. Mark this node as

interface node.

3. Else if the data to be filled in the Comp B table is fetched in Camp A, then pass that data from A --> B

by createing an interface node in similar lines as in point2.

In Comp A, do the following.

1. Go the the properties tab of the Comp A, got to Used Components tab, and create an instance of

CompB.

2. Go to the default window of Comp A, in the windows tab, drill down to the view controller defined. Here

right click on the view controller and embed the view from component B.

pls note, unless comp b is instantiated in the properties tab, it will not be displayed in the drill down.

If data fetching for filling the table (o/p) is done in Comp B, pass the selection criterion by mapping the context nodes of Comp A and Comp B.

Hope this helps,

Do let me know in case you need any more details.

Regards,

Sravan Varagani

Former Member
0 Kudos

Hi,

Declare component usage of Comp-B in PROPERTIES tab of comp-A component as well in view.

Add a container to view in comp-A. Then from windows, embed the view of comp-B into the container.

You can mark the method in comp-B as interface method and call it from Comp-A.

Also sharing context node of Comp-B into comp-A is possible by marking the node as interface node in comp-B.

Regards,

Achyut

Former Member
0 Kudos

hi,

For each window there will be one interface will be defined by default by the system.

u can call the views which r embedded in a particular window by just defining the component usage of the

component in which window exist.

Regards,

janakram.

Former Member
0 Kudos

interface view is a window with attribute 'interface' checked on, in another component , if you add component A as used component in component B , you will see the related window in component B ,then you can reuse it.

Best regards,