Skip to Content

Change View on Click on Link

Hello Friends,

I am new to Webdynpro, I am in a situation where i do have an view having an ViewContainerUIElement in which by default an other view is being displayed. I am having an link on the toolbar of this ViewContainerUIElement. i want to change the view in container to be replaced by another view. Kindly advice how i can do this.

Thanks in advance.


Narinder Pal

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Dec 15, 2011 at 06:12 PM


    Try with this:

    - Create an Inbound plug in your second view

    - Create an Outboung plug in your MAIN view

    - Create a navigation link in the window for navigate from the view MAIN to your second view

    - Drag and drop both views into your view container within the window.

    - Within the method you have to change the view put the following code using the code wizard:

    wd_this->fire_YOUR_PLUG_NAME_plg(  ).

    With this you can change the view is displayed in your viewcontainer in your MAIN view.

    Hope this help you...



    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Narinder Pal Singh

      Hi narinder,

      The button is in Outer view. And on click of the button, inner view changes.

      And it is working for me.