If you want to use URL parameters in ADF
use below code.
In JSF view use this el
#{param.yourparamName}
In java you can use JSF util class
String paramName= JSFUtils.resolveExpression("#{param.yourparamName}");
I am using JSFUtils resolveexpression method here.
public static Object resolveExpression(String expression) { FacesContext facesContext = getFacesContext(); Application app = facesContext.getApplication(); ExpressionFactory elFactory = app.getExpressionFactory(); ELContext elContext = facesContext.getELContext(); ValueExpression valueExp = elFactory.createValueExpression(elContext, expression, Object.class); return valueExp.getValue(elContext); }
Happy learning…