on 07-12-2006 7:58 AM
as title as said.i put some information into vo,for example:
i saved username and password into vo(value object)after user login in EP.i hope i can get the value any time from the vo.that's equivalent to the function in jsp :
session.setAttribute("vo","xx");
VO vo =(VO)session.getAttribute("vo");
u know we cann't do it as that in web dynpro project.
i know i can set value to context of view,even shared it in the same one component.but i cann't get the value in the others compoent.
in short ,i wanna: once set value, anywhere get it.
thanks in advance.
Hi,
Share that in the interface controller so that it will be seen in any of the component..
Regards,
Vijayakhanna Raman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If you have some values in the interface controller of CompA, then go to the properties view of CompB and in the "Required Controllers" section, click on the Add button. This will show a pop-up giving you which are the controllers that can be added. If you see CompA there, select it.
Then you can access CompA interface controller context in CompB Interface Controller implementation as :
wdThis.wdGetCompAInterface().wdGetAPI().getContext();
Regards,
Satyajit.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
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.