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:
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.
As per my Java EE concepts, session values can only be transferred via request and until and unless u are passing requests between the 2 variables, you have very few options left.
out of these options you can try the following:
as per me the first 2 options should work for you