Skip to Content
avatar image
Former Member

How to call View of Component B in WINDOW of Component A .

Hi Experts,

I have 4 different webdynpro Component. On the button click of first component view, I want second component view should be open in same exiting WINDOW, and same when button click from view of second component, 3rd component view should be open . I want all 4 component should be opened in ONE WINDOW ONLY .

Now I am using URL of component to open next component but this is opening seperate window.

So please guide me how to open different different webdynpro component in ONE WINDOW.

Thanks & Regards,

Abhiiesh.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • Jan 03, 2012 at 11:02 AM

    If possible, try to create all the views in same component then maintain navigation plugs between views. and fire that plug in corresponding view button.

    If its critical to include 4 different views, then create 4 views in ur compoent, in each view insert one view containter element and embed the other component view in view container using component usages. and then remaining procedure same as above.

    Regards

    Srinivas

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 03, 2012 at 11:12 AM

    Hi,

    Why did you create 4 views in 4 different components when you want to use all of them in a single window?

    You could have created all 4 views in a single component.

    Answer to your query:

    Define the usage of components 2, 3 & 4 in component 1

    Add the interface views of components 2, 3 & 4 in window of Comp_1

    Create inbound and outbound plugs for the interface views and windows of components 2, 3 & 4 . Use these plugs to create navigation links in Window of comp_1.

    Use the outbound plugs of windows to navigate btw views(From view call a method in window controller which will fire the outbound plugs).

    Regards,

    Ashwin

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member srinivas sana

      hi Srinivas,

      Thanks lot for your reply - navigation between multiple views of one component. But Sir, I am looking to open 4 different existing component in one window.

      So please guide me how shall I link 4 different component to open in one window.If possible plz give me step by step procedure.

      Thanks & Regards,

      Abhiiesh.

  • avatar image
    Former Member
    Jan 03, 2012 at 12:12 PM

    Hi,

    If its possible for your scenario then create all four views in same component and do as per the srinivas has suggested.

    Else to add Component B into Component A, you need to have usage of Component B into component A's properties of component controller. For this Component B's component controller method should be ticked with interface flag. And same can be done for 3rd into 2nd and 4th view into 3rd.

    Regards,

    Vishvesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 03, 2012 at 12:14 PM

    Hi,

    If its possible for your scenario then create all four views in same component and do as per the srinivas has suggested.

    Else to add Component B into Component A, you need to have usage of Component B into component A's properties of component controller. For this Component B's component controller method should be ticked with interface flag. And same can be done for 3rd into 2nd and 4th view into 3rd using Inbound and Outbound plugs.

    Regards,

    Vishvesh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jan 03, 2012 at 01:24 PM

    Hi,

    Are the other comp not defined as a usage in the Main component...

    But here as per your requirement...you are trying to open one comp from other like nesting....

    Main comp->you are calling comp 1 -> from comp1 you are calling comp2...I guess you requriement is like nesting right..

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      i guess there is a standard example on this requirement or something relevance to it..need to check teh

      name.

      Like that how many comps are called one in other....why is there such requriement..