Created
September 28, 2011 18:28
-
-
Save biemond/1248784 to your computer and use it in GitHub Desktop.
ADFContext and ADF
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ADFContext | |
ADFContext adfCtx = ADFContext.getCurrent(); | |
// Get the scope variables | |
Map<String, Object> applicationVar2 = adfCtx.getApplicationScope(); | |
Map<String, Object> pageParamsVar2 = adfCtx.getPageFlowScope(); | |
Map<String, String> requestParamsVar2 = adfCtx.getRequestScope(); | |
Map<String, Object> sessionParamsVar2 = adfCtx.getSessionScope(); | |
// el expression | |
ELContext elContext2 = adfCtx.getELContext(); | |
ExpressionFactory elFactory2 = adfCtx.getExpressionFactory(); | |
ValueExpression valueExp2 = elFactory2.createValueExpression(elContext2, | |
"#{xxxx}", | |
Object.class); | |
Object result2 = valueExp2.getValue(elContext2); | |
// Security | |
SecurityContext secCntx = adfCtx.getSecurityContext(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment