Thursday, 18 August 2016

ADF : UI : access RequestScope in Bean and JSFF



ADF : UI : access RequestScope in Bean and JSFF

 

 





       ADFContext adfContext = ADFContext.getCurrent();
       Map requestScope = adfContext.getRequestScope();
       department = (String) requestScope.get("action");

ADF : View Criteria and CRITERIA_AUTO_EXECUTE Property - ADF 11g PS3


ADF : View Criteria and CRITERIA_AUTO_EXECUTE Property - ADF 11g PS3



vo.getViewCriteriaManager().getViewCriteria("DefaultSearchCriteria").first().setAttribute("Name", PlsUserSession.getURMSessionContext().getDevGroupName());
vo.getViewCriteriaManager().getViewCriteria("DefaultSearchCriteria").setProperty(ViewCriteriaHints.CRITERIA_AUTO_EXECUTE, true);
vo.getViewCriteriaManager().getViewCriteria("DefaultSearchCriteria").saveState();




ADF : ViewCritiria – Date – Set default Date