setPortletSessionAttr()

指定のセッション・スコープ内の指定のキーによって特定された PortletSession 属性に、指定の値をバインドします。

構文

portalLib.setPortletSessionAttr(
  key STRING in,
  value Any in,
  scope SessionScopeKind)
key
PortletSession 属性のバインドが行われるキーを含むストリング値。
value
指定の PortletSession スコープ内の指定のキーに格納される Any 型の値。
scope
属性を格納する必要がある PortletSession スコープを示す SessionScopeKind 列挙型の値。

myRec EmployeeRecord;
portalLib.setPortletSessionAttr("rec", myRec, SessionScopeKind.portletScope);

フィードバック