on 03-12-2009 7:30 AM
Hi,
I want to combine two or more component in one Web dynpro application . How it can be possible.
Can any one tell the step by step procedure to do this Plz..
regards,
H.V.Swathi
Hi..
suppose you have two component within your application as APP.
first comonent likeparentComp....second component like-childComp.
if you want to add chindcomponent into parent component...
firstlt you have to add child component into parentcomponent.
In parent -.go to addComponentrightclick---you will get one prompt having three field..
1st filed you have to any name..2 nd fild you chhose browse button and chhose child component
then you add child component into parent commponent.
then go to window option where you create INbound and out bound..
firstly create emptywindow....then create view---you will get 4 option..you will choose last one like interfacecomponent...then choose chilld component...expand it upto last..if not then add your child component....and chose child view(last) ..now your child view created through interface controller.
in window..you just drag line friom parent view to chile view just while you craeated throw your interface controller
then build it and run in sap j2ee server...
.in parent create one button and give the action ...wdthis.wdgetfire...which is created at time of create outbound name.....
the run it...
if any issues call me 09903682912
thanks
sudhira jati
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Your requirement is to navigate from child to parent right?
1.So in the Interface view of the child create an Outplug "" ToParentOut".
2.Create an Inplug "fromChildn" in Parent.
3.Create the navigation link.
Now create a button in child and in the onAction of this button write this code.
wdThis.wdGetChildInterfaceViewController().wdFirePlugToParentOut;
Please refer to link which i have posted before..
Hope it is clear.
Jithin
Edited by: jithin james on Mar 12, 2009 9:52 AM
Edited by: jithin james on Mar 12, 2009 9:54 AM
You can do it both the ways.
If you are using Dc of two diffrent projects then you need to add your Child Dc to the public part and add it in your Parent Dc.
Now if you have both the components in a single project, if you want to navigate between the componets you can follow the steps above. Please see the link which i have posted before.Please tell me where the confusion really is. It is pretty simple.. :)...
Jithin
My question is i have created two projects(Web dynpro projects).
I want to combine both the components of two application. I have copied and pasted the child component in parent and Added in Used web dynpro component too.
While doing this childComponentinterfaceview is created in parent window and default inbound but no outbound. But i am not able to create outbound also.
What shall i do to go back from Child Component to Parent.
Regards,
H.V.Swathi
Edited by: H.V Swathi on Mar 12, 2009 11:05 AM
Hi,
In your appllication u can add the interfaceView of only one component.
So what we usuually do is keep one component as parent and in the application we include
the Interface View of this component. We can add the other components as used components to this parent component. Please refer this thread....
Jithin
Edited by: jithin james on Mar 12, 2009 9:43 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Swati,
Go to Web Dynpro explorer -
> select used Web Dynpro Component -
> right click -
> add used component.
Then you will be able to use 2 or more components in a component.
Regards,
Abhijeet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.