void publishPostConfigEvent() {
FacesContext ctx = FacesContext.getCurrentInstance();
Application app = ctx.getApplication();
if (null == ((InitFacesContext)ctx).getELContext()) {
ELContext elContext = new ELContextImpl(app.getELResolver());
elContext.putContext(FacesContext.class, ctx);
UIViewRoot root = ctx.getViewRoot();
if (null != root) {
elContext.setLocale(root.getLocale());
}
ELContextListener[] listeners = app.getELContextListeners();
if (listeners.length > 0) {
ELContextEvent event = new ELContextEvent(elContext);
for (ELContextListener listener: listeners) {