Map listenersByType, String actionListenerType)
String varName, Map listenersByType, String actionListenerType)
    public static void encodeEventListeners(IJavaScriptWriter js,            Map listenersByType, String actionListenerType)            throws WriterException {        if (listenersByType.isEmpty() == false) {            for (Iterator it = listenersByType.entrySet().iterator(); it                    .hasNext();) {                Map.Entry entry = (Map.Entry) it.next();                String listenerType = (String) entry.getKey();                FacesListener listeners[] = (FacesListener[]) entry.getValue();                encodeEventListeners(js, listenerType, listeners);            }        }        if (actionListenerType != null) {            if (listenersByType.containsKey(actionListenerType) == false) {                // Il faut provoquer un Submit alors ...                encodeJavaScriptEventSubmit(js, actionListenerType);            }        }    }