Wednesday, 21 March 2018

OIM UI Customization - Code Snippet to Invoke EL Expression.

public void invokeSubmitButtonEL(ActionEvent event) {
        MethodExpression originalActionListener =
FacesUtils.getMethodExpressionFromEL("#{backingBeanScope.cartReqBean.submitActionListener}", null, new Class[] { ActionEvent.class });
        

        originalActionListener.invoke(FacesUtils.getELContext(), new Object[] { event });
    }


Happy Learning!!!

No comments:

Post a Comment