on 03-09-2004 4:07 PM
Hi Everybody,
Does anybody have a working example of a project that demonstrates working with components from different projects?
I'm very keen to understand the component model but of course it only makes sense if you can easily reuse components from other projects. A very simple example would be a Tabstrip with two tabs, each containing a component from a different project.
Thanks for any help on this issue.
...Scottd
Hi Scott,
You can use development Components(DC) for this purpose.
We have Web Dynpro projects that embeds componetns from another project and it works fine..
Thanks and Regards,
Sam Mathew
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Scott,
first of all, you have to use Development Component projects to do this, Web Dynpro Projects will not work. If you've got two DC projects, let's call them <b>Used</b> and <b>Using</b>, the following steps are needed to embed/use parts of Used in Using:
1. <b>Create/add a public part in Used.</b> To declare the component interface of Used as public, right-click on the component node and choose "Add to public part". In the following dialog, specify a name and finish.
2. <b>Rebuild Used.</b> Right-click on the project node of Used and choose "Development Component->Build". This will promote the changes to the DC Repository.
3. <b>Declare a DC usage in Using.</b> To do this, right click on "DC Metadata->DC Definition->Used DCs" and choose "Add Used DC". Select the Used component in the following dialog.
4. <b>Build Using</b> with "Development Component->Build".
5. Declare the Web Dynpro Component Usage like you would do for components in the same project.
Hope that helps
Regards
Stefan
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.