Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 10022

Re: How to reuse views in other webdynpro components

$
0
0

Hi Ravi,

 

You can call the view of another webdynpro component in current view.

 

  • Lets take two examples Ztest1 and Ztest2 which are the 2 webdynpro components which contain test1 and test2 as the view respectively.
  • We will be calling TEST1 view of component ZTEST1 in view test2 of component ZTEST2
  • Double click on the component ZTEST2, under the tab Used components add the ZTEST1 under component and some custom name(ZTEST1) under component use.
  • now go to view TEST2 and create a view container.
  • Now expand window node of ZTEST2, expand the window structure ZTEST2 view and right click on the view container and select embed view
  • In the popup select F4 in the View to be Embedded and select the TEST1 view of ZTEST1 component and press ok
  • Now we can reuse the View of ZTEST1 inside ZTEST2 component.

 

Check the below example for further details

REUSABILITY OF VIEWS

 

Points please if helpful!

 

Regards

Subhash


Viewing all articles
Browse latest Browse all 10022

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>