Set the Value:
-----------------
operatingUnitId = "3400";
ADFContext.getCurrent().getSessionScope().put("OU", operatingUnitId);
Get the Value in ViewObject:
-----------------------------------
adf.context.sessionScope.OU
Source Code:
------------
<Variable
Name="bing_orgId"
Kind="viewcriteria"
Type="oracle.jbo.domain.Number">
<TransientExpression
Name="VariableScript"><![CDATA[adf.context.sessionScope.OU]]></TransientExpression>
<Properties>
<SchemaBasedProperties>
<DISPLAYHINT
Value="Hide"/>
<LABEL
ResId="com.herb.scm.model.evo.PoRequisitionHeadersAllEOVO.bing_orgId_LABEL"/>
</SchemaBasedProperties>
</Properties>
</Variable>
-----------------
operatingUnitId = "3400";
ADFContext.getCurrent().getSessionScope().put("OU", operatingUnitId);
Get the Value in ViewObject:
-----------------------------------
adf.context.sessionScope.OU
Source Code:
------------
<Variable
Name="bing_orgId"
Kind="viewcriteria"
Type="oracle.jbo.domain.Number">
<TransientExpression
Name="VariableScript"><![CDATA[adf.context.sessionScope.OU]]></TransientExpression>
<Properties>
<SchemaBasedProperties>
<DISPLAYHINT
Value="Hide"/>
<LABEL
ResId="com.herb.scm.model.evo.PoRequisitionHeadersAllEOVO.bing_orgId_LABEL"/>
</SchemaBasedProperties>
</Properties>
</Variable>
No comments:
Post a Comment