I am using two sessions namely CCXSession
and Session
in my sample web object application project, here Session
class is inherited from CCXSession
.
For the purpose of localization I need to send the session object from Session to CCXSession
, but I failed in achieving this.
I need a confirmation on below points:
- Is it possible to send session values from one session to another?
- if yes how is it possible?
and the code is:
public String getDisplayAppName() {
String retVal = null;
retVal = (String)((CCXSession)session())
.localizer()
.valueForKey(
currentApp
.applicationLink()
.deployAppName()
.displayAppName()
);
return retVal;
}
here I am passing the key value to valueForKey();
Can anybody help me in this issue.