getPortletSessionAttr()

指定のセッション・スコープ内の指定のキーにバインドされた PortletSession 属性値を返します。 指定のスコープ内に属性が見つからなかった場合、この関数は null を返します。

構文

portalLib.getPortletSessionAttr(
  key STRING in,
  scope SessionScopeKind)
returns (value Any)
key
PortletSession 属性が格納されているキーを示すストリング値。
scope
属性が格納されている PortletSession スコープを示す、列挙型 SessionScopeKind の値。
value
要求された PortletSession 属性の値が含まれている、Any 型の戻り値。

returnValue Any;
returnValue = getPortletSessionAttr("myAttr", 
   SessionScopeKind.applicationScope);

フィードバック