on 09-09-2011 9:58 AM
Hi Gurus ,
We designed screen in webdynpro . I created attributes in component controller and i tried to copy that attributes from component controller to view context. But i can't able to drag and drop that attributes.. Is there is any other way to copy that attributes or only option is to create attribute directly in view context
Hi meena,
Create Node first and under node create attributes, mapping done only from nodes.
If you want to create only local attributes just create in view itself.
Cheers,
Kris.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Krish ,
Thank you so much . . But can i know the reason why local attributes can create in view context ..
i read in one site they said its possible to copy local attibutes from component controller to view context.. In that they told to right click view context -> create using the wizard -> copy nodes of differnet context .
I tried this way but only attributes inside nodes only copied..
Meena
Hi Meena,
First Create Node and then create your attribute in that node in Component Controller. Now goto View controller and Drag and Drop Node.
Regards
Farooq
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI Farooq,
Thank you so much . . But can i know the reason why local attributes can create in view context ..
i read in one site they said its possible to copy local attibutes from component controller to view context.. In that they told to right click view context -> create using the wizard -> copy nodes of differnet context .
I tried this way but only attributes inside nodes only copied..
Meena
Hi meena,
Mapping between the controller is through NODE's. If you want to make you attribute global then you have to define node and create your attribute inside that and go view controller and perform mapping.
If you define attribute in View Controller then that can be use in same View but you cannot use it in different View controller
for this we define global attribute and mapped to different view controllers
As you said you read in the site, it also suggest the same CREATE NODE in CC -> Attribute -> goto VC and perform Mapping
Regards
farooq
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.