You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by we...@apache.org on 2011/10/20 11:27:33 UTC

svn commit: r1186685 [1/2] - in /myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl: _util/ core/ i18n/

Author: werpu
Date: Thu Oct 20 09:27:33 2011
New Revision: 1186685

URL: http://svn.apache.org/viewvc?rev=1186685&view=rev
Log:
https://issues.apache.org/jira/browse/MYFACES-3361

Fortifying the extension packages so that they
do not cause errors if the core is not loaded.
The idea simply is to peform a check for a core api
before the class is initialized, this can be done
with a simple && before calling the singleton and 
class initializer.


Modified:
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_DomQuirks.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ExtDom.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_LangQuirks.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/_StartImpl.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_de.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_es.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_fr.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_it.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_nl.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_ru.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_zh_CN.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_zh_HK.js
    myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_zh_TW.js

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_DomQuirks.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_DomQuirks.js?rev=1186685&r1=1186684&r2=1186685&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_DomQuirks.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_DomQuirks.js Thu Oct 20 09:27:33 2011
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-if(!document.querySelectorAll) {
+if(!document.querySelectorAll && _MF_SINGLTN) {
 /***
  Dom.js version for non html5 browsers
  */

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ExtDom.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ExtDom.js?rev=1186685&r1=1186684&r2=1186685&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ExtDom.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_ExtDom.js Thu Oct 20 09:27:33 2011
@@ -16,7 +16,7 @@
  */
 
 /*only quirksmode browsers get the quirks part of the code*/
-_MF_SINGLTN(_PFX_UTIL + "_ExtDom", myfaces._impl._util._Dom, {
+_MF_SINGLTN && _MF_SINGLTN(_PFX_UTIL + "_ExtDom", myfaces._impl._util._Dom, {
 
     _Lang:myfaces._impl._util._Lang,
     _RT:myfaces._impl.core._Runtime,

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_LangQuirks.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_LangQuirks.js?rev=1186685&r1=1186684&r2=1186685&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_LangQuirks.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/_util/_LangQuirks.js Thu Oct 20 09:27:33 2011
@@ -28,7 +28,7 @@
  */
 
 //html5 ecmascript 3 compliant browser, no quirks mode needed
-if(!Array.prototype.indexOf) {
+if(!Array.prototype.indexOf  && _MF_SINGLTN) {
 /**
  * @memberOf myfaces._impl
  * @namespace

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/_StartImpl.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/_StartImpl.js?rev=1186685&r1=1186684&r2=1186685&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/_StartImpl.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/_StartImpl.js Thu Oct 20 09:27:33 2011
@@ -15,19 +15,22 @@
  */
 /*we cannot privatize with a global function hence we store the values away for the init part*/
 (function() {
-    //some mobile browsers do not have a window object
     var target = window || document.body;
-    var _RT = myfaces._impl.core._Runtime;
-    var impl = "myfaces._impl.";
-    var params = {_MF_CLS: _RT.extendClass,
-        _MF_SINGLTN: _RT.singletonExtendClass,
-        _PFX_UTIL: impl+"_util.",
-        _PFX_CORE:impl+"core.",
-        _PFX_XHR: impl+"xhrCore.",
-        _PFX_I18N: impl+"i18n."};
+    if (target.myfaces && target.myfaces._impl) {
+        //some mobile browsers do not have a window object
 
-    for (var key in params) {
-        _RT[key] = target[key];
-        target[key] = params[key];
+        var _RT = myfaces._impl.core._Runtime;
+        var impl = "myfaces._impl.";
+        var params = {_MF_CLS: _RT.extendClass,
+            _MF_SINGLTN: _RT.singletonExtendClass,
+            _PFX_UTIL: impl + "_util.",
+            _PFX_CORE:impl + "core.",
+            _PFX_XHR: impl + "xhrCore.",
+            _PFX_I18N: impl + "i18n."};
+
+        for (var key in params) {
+            _RT[key] = target[key];
+            target[key] = params[key];
+        }
     }
 })();

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_de.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_de.js?rev=1186685&r1=1186684&r2=1186685&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_de.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_de.js Thu Oct 20 09:27:33 2011
@@ -15,7 +15,6 @@
  */
 
 
-
 /**
  * System messages german version
  * (note the base version is basically the en_US) version
@@ -34,69 +33,70 @@
  * @extends myfaces._impl.i18n.Messages
  * @memberOf myfaces._impl.i18n
  */
-_MF_CLS(_PFX_I18N+"Messages_de", myfaces._impl.i18n.Messages,
-/** @lends myfaces._impl.i18n.Messages_de.prototype */
-{
-
-    MSG_TEST:               "Testnachricht",
-
-    /*Messages*/
-    MSG_DEV_MODE:           "Sie sehen diese Nachricht, da sie sich gerade im Entwicklungsmodus befinden " +
-                            "und sie keine Fehlerbehandlungsfunktionen registriert haben.",
-
-    MSG_AFFECTED_CLASS:     "Klasse:",
-    MSG_AFFECTED_METHOD:    "Methode:",
-
-    MSG_ERROR_NAME:         "Fehler Name:",
-    MSG_ERROR_MESSAGE:      "Nachricht:",
-
-    MSG_ERROR_DESC:         "Fehlerbeschreibung:",
-    MSG_ERROR_NO:           "Fehlernummer:",
-    MSG_ERROR_LINENO:       "Zeilennummer:",
-
-    /*Errors and messages*/
-    ERR_FORM:                "Das Quellformular konnte nicht gefunden werden. " +
-                             "Mögliche Gründe: Sie haben entweder kein formular definiert, oder es kommen mehrere Formulare vor, " +
-                             "die alle das auslösende Element mit demselben Namen besitzen. " +
-                             "Die Weitere Ajax Ausführung wird gestoppt.",
-
-    ERR_VIEWSTATE:          "jsf.viewState: der Parameter ist not vom Typ form!",
-
-    ERR_TRANSPORT:          "Transport typ {0} existiert nicht",
-    ERR_EVT_PASS:           "Ein Event Objekt muss übergeben werden (entweder ein event Objekt oder null oder undefined)",
-    ERR_CONSTRUCT:          "Teile des response konnten nicht ermittelt werden während die Event Daten bearbeitet wurden: {0} ",
-    ERR_MALFORMEDXML:       "Es gab zwar eine Antwort des Servers, jedoch war diese nicht im erwarteten XML Format. Der Server hat kein valides XML gesendet! Bearbeitung abgebrochen.",
-    ERR_SOURCE_FUNC:        "source darf keine Funktion sein",
-    ERR_EV_OR_UNKNOWN:      "Ein Ereignis Objekt oder UNKNOWN muss als 2. Parameter übergeben werden",
-    ERR_SOURCE_NOSTR:       "source darf kein String sein",
-    ERR_SOURCE_DEF_NULL:    "source muss entweder definiert oder null sein",
-
-    //_Lang.js
-    ERR_MUST_STRING:        "{0}: {1} namespace muss vom Typ String sein",
-    ERR_REF_OR_ID:          "{0}: {1} Ein Referenzknoten oder id muss übergeben werden",
-    ERR_PARAM_GENERIC:      "{0}: Paramter {1} muss vom Typ {2} sein",
-    ERR_PARAM_STR:          "{0}: Parameter {1} muss vom Typ String sein",
-    ERR_PARAM_STR_RE:       "{0}: Parameter {1} muss entweder ein String oder ein Regulärer Ausdruck sein",
-    ERR_PARAM_MIXMAPS:      "{0}: both a source as well as a destination map must be provided",
-    ERR_MUST_BE_PROVIDED:   "{0}: ein {1} und ein {2} müssen übergeben werden",
-    ERR_MUST_BE_PROVIDED1:  "{0}: {1} muss gesetzt sein",
-
-    ERR_REPLACE_EL:         "replaceElements aufgerufen während evalNodes nicht ein Array ist",
-    ERR_EMPTY_RESPONSE:     "{0}: Die Antwort darf nicht null oder leer sein!",
-    ERR_ITEM_ID_NOTFOUND:   "{0}: Element mit ID {1} konnte nicht gefunden werden",
-    ERR_PPR_IDREQ:          "{0}: Fehler im PPR Insert, ID muss gesetzt sein",
-    ERR_PPR_INSERTBEFID:    "{0}: Fehler im PPR Insert, before ID oder after ID muss gesetzt sein",
-    ERR_PPR_INSERTBEFID_1:  "{0}: Fehler im PPR Insert, before  Knoten mit ID {1} Existiert nicht",
-    ERR_PPR_INSERTBEFID_2:  "{0}: Fehler im PPR Insert, after  Knoten mit ID {1} Existiert nicht",
-
-    ERR_PPR_DELID:          "{0}: Fehler im PPR delete, id ist nicht im xml Markup vorhanden",
-    ERR_PPR_UNKNOWNCID:     "{0}: Unbekannte Html-Komponenten-ID: {1}",
-    ERR_NO_VIEWROOTATTR:    "{0}: Änderung von ViewRoot Attributen ist nicht erlaubt",
-    ERR_NO_HEADATTR:        "{0}: Änderung von Head Attributen ist nicht erlaubt",
-    ERR_RED_URL:            "{0}: Redirect ohne URL",
-
-    ERR_REQ_FAILED_UNKNOWN: "Anfrage mit unbekanntem Status fehlgeschlagen",
-    ERR_REQU_FAILED: "Anfrage mit Status {0} and Ursache {1} fehlgeschlagen",
-    UNKNOWN: "Unbekannt"
+_MF_CLS && _MF_CLS(_PFX_I18N + "Messages_de", myfaces._impl.i18n.Messages,
+        /** @lends myfaces._impl.i18n.Messages_de.prototype */
+        {
+
+            MSG_TEST:               "Testnachricht",
+
+            /*Messages*/
+            MSG_DEV_MODE:           "Sie sehen diese Nachricht, da sie sich gerade im Entwicklungsmodus befinden " +
+                    "und sie keine Fehlerbehandlungsfunktionen registriert haben.",
+
+            MSG_AFFECTED_CLASS:     "Klasse:",
+            MSG_AFFECTED_METHOD:    "Methode:",
+
+            MSG_ERROR_NAME:         "Fehler Name:",
+            MSG_ERROR_MESSAGE:      "Nachricht:",
+
+            MSG_ERROR_DESC:         "Fehlerbeschreibung:",
+            MSG_ERROR_NO:           "Fehlernummer:",
+            MSG_ERROR_LINENO:       "Zeilennummer:",
+
+            /*Errors and messages*/
+            ERR_FORM:                "Das Quellformular konnte nicht gefunden werden. " +
+                    "Mögliche Gründe: Sie haben entweder kein formular definiert, oder es kommen mehrere Formulare vor, " +
+                    "die alle das auslösende Element mit demselben Namen besitzen. " +
+                    "Die Weitere Ajax Ausführung wird gestoppt.",
+
+            ERR_VIEWSTATE:          "jsf.viewState: der Parameter ist not vom Typ form!",
+
+            ERR_TRANSPORT:          "Transport typ {0} existiert nicht",
+            ERR_EVT_PASS:           "Ein Event Objekt muss übergeben werden (entweder ein event Objekt oder null oder undefined)",
+            ERR_CONSTRUCT:          "Teile des response konnten nicht ermittelt werden während die Event Daten bearbeitet wurden: {0} ",
+            ERR_MALFORMEDXML:       "Es gab zwar eine Antwort des Servers, jedoch war diese nicht im erwarteten XML Format. Der Server hat kein valides XML gesendet! Bearbeitung abgebrochen.",
+            ERR_SOURCE_FUNC:        "source darf keine Funktion sein",
+            ERR_EV_OR_UNKNOWN:      "Ein Ereignis Objekt oder UNKNOWN muss als 2. Parameter übergeben werden",
+            ERR_SOURCE_NOSTR:       "source darf kein String sein",
+            ERR_SOURCE_DEF_NULL:    "source muss entweder definiert oder null sein",
+
+            //_Lang.js
+            ERR_MUST_STRING:        "{0}: {1} namespace muss vom Typ String sein",
+            ERR_REF_OR_ID:          "{0}: {1} Ein Referenzknoten oder id muss übergeben werden",
+            ERR_PARAM_GENERIC:      "{0}: Paramter {1} muss vom Typ {2} sein",
+            ERR_PARAM_STR:          "{0}: Parameter {1} muss vom Typ String sein",
+            ERR_PARAM_STR_RE:       "{0}: Parameter {1} muss entweder ein String oder ein Regulärer Ausdruck sein",
+            ERR_PARAM_MIXMAPS:      "{0}: both a source as well as a destination map must be provided",
+            ERR_MUST_BE_PROVIDED:   "{0}: ein {1} und ein {2} müssen übergeben werden",
+            ERR_MUST_BE_PROVIDED1:  "{0}: {1} muss gesetzt sein",
+
+            ERR_REPLACE_EL:         "replaceElements aufgerufen während evalNodes nicht ein Array ist",
+            ERR_EMPTY_RESPONSE:     "{0}: Die Antwort darf nicht null oder leer sein!",
+            ERR_ITEM_ID_NOTFOUND:   "{0}: Element mit ID {1} konnte nicht gefunden werden",
+            ERR_PPR_IDREQ:          "{0}: Fehler im PPR Insert, ID muss gesetzt sein",
+            ERR_PPR_INSERTBEFID:    "{0}: Fehler im PPR Insert, before ID oder after ID muss gesetzt sein",
+            ERR_PPR_INSERTBEFID_1:  "{0}: Fehler im PPR Insert, before  Knoten mit ID {1} Existiert nicht",
+            ERR_PPR_INSERTBEFID_2:  "{0}: Fehler im PPR Insert, after  Knoten mit ID {1} Existiert nicht",
+
+            ERR_PPR_DELID:          "{0}: Fehler im PPR delete, id ist nicht im xml Markup vorhanden",
+            ERR_PPR_UNKNOWNCID:     "{0}: Unbekannte Html-Komponenten-ID: {1}",
+            ERR_NO_VIEWROOTATTR:    "{0}: Änderung von ViewRoot Attributen ist nicht erlaubt",
+            ERR_NO_HEADATTR:        "{0}: Änderung von Head Attributen ist nicht erlaubt",
+            ERR_RED_URL:            "{0}: Redirect ohne URL",
+
+            ERR_REQ_FAILED_UNKNOWN: "Anfrage mit unbekanntem Status fehlgeschlagen",
+            ERR_REQU_FAILED: "Anfrage mit Status {0} and Ursache {1} fehlgeschlagen",
+            UNKNOWN: "Unbekannt"
+
+        });
 
-});
\ No newline at end of file

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_es.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_es.js?rev=1186685&r1=1186684&r2=1186685&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_es.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_es.js Thu Oct 20 09:27:33 2011
@@ -14,6 +14,7 @@
  * limitations under the License.
  */
 
+
 /**
  * System messages spanish version version
  * (note the base version is basically the en_US) version
@@ -24,63 +25,64 @@
  * @extends myfaces._impl.i18n.Messages
  * @memberOf myfaces._impl.i18n
  */
-_MF_CLS(_PFX_I18N+"Messages_es", myfaces._impl.i18n.Messages,
-/** @lends myfaces._impl.i18n.Messages_es.prototype */
-{
-
-
-    MSG_TEST:               "Mensajeprueba",
-
-    /*Messages*/
-    MSG_DEV_MODE:           "Aviso. Este mensaje solo se envia porque el 'Project Stage' es 'Development' y no hay otros 'listeners' de errores registrados.",
-    MSG_AFFECTED_CLASS:     "Clase Afectada:",
-    MSG_AFFECTED_METHOD:    "M�todo Afectado:",
-
-    MSG_ERROR_NAME:         "Nombre del Error:",
-    MSG_ERROR_MESSAGE:      "Nombre del Error:",
-
-    MSG_ERROR_DESC:         "Descripci�n del Error:",
-    MSG_ERROR_NO:           "N�mero de Error:",
-    MSG_ERROR_LINENO:       "N�mero de L�nea del Error:",
-
-    /*Errors and messages*/
-    ERR_FORM:               "El formulario de origen no ha podido ser determinado, debido a que el elemento no forma parte de un formulario o hay diversos formularios con elementos usando el mismo nombre o identificador. Parando el procesamiento de Ajax.",
-    ERR_VIEWSTATE:          "jsf.viewState: el valor del par�metro no es de tipo 'form'!",
-    ERR_TRANSPORT:          "El tipo de transporte {0} no existe",
-    ERR_EVT_PASS:           "un evento debe ser transmitido (sea null o no definido)",
-    ERR_CONSTRUCT:          "Partes de la respuesta no pudieron ser recuperadas cuando construyendo los datos del evento: {0} ",
-    ERR_MALFORMEDXML:       "La respuesta del servidor no ha podido ser interpretada. El servidor ha devuelto una respuesta que no es xml !",
-    ERR_SOURCE_FUNC:        "el origen no puede ser una funci�n (probablemente 'source' y evento no han sido definidos o son 'null'",
-    ERR_EV_OR_UNKNOWN:      "Un objeto de tipo evento o desconocido debe ser pasado como segundo par�metro",
-    ERR_SOURCE_NOSTR:       "el origen no puede ser 'string'",
-    ERR_SOURCE_DEF_NULL:    "el origen debe haber sido definido o ser 'null'",
-
-    //_Lang.js
-    ERR_MUST_STRING:        "{0}: {1} namespace debe ser de tipo String",
-    ERR_REF_OR_ID:          "{0}: {1} una referencia a un nodo o identificador tiene que ser pasada",
-    ERR_PARAM_GENERIC:      "{0}: el par�metro {1} tiene que ser de tipo {2}",
-    ERR_PARAM_STR:          "{0}: el par�metro {1} tiene que ser de tipo string",
-    ERR_PARAM_STR_RE:       "{0}: el par�metro {1} tiene que ser de tipo string o una expresi�n regular",
-    ERR_PARAM_MIXMAPS:      "{0}: han de ser pasados tanto un origen como un destino",
-    ERR_MUST_BE_PROVIDED:   "{0}: {1} y {2} deben ser pasados",
-    ERR_MUST_BE_PROVIDED1:  "{0}: {1} debe estar definido",
-
-    ERR_REPLACE_EL:         "replaceElements invocado mientras que evalNodes no es un an array",
-    ERR_EMPTY_RESPONSE:     "{0}: �La respuesta no puede ser de tipo 'null' o vac�a!",
-    ERR_ITEM_ID_NOTFOUND:   "{0}: el elemento con identificador {1} no ha sido encontrado",
-    ERR_PPR_IDREQ:          "{0}: Error en PPR Insert, 'id' debe estar presente",
-    ERR_PPR_INSERTBEFID:    "{0}: Error in PPR Insert, antes de 'id' o despu�s de 'id' deben estar presentes",
-    ERR_PPR_INSERTBEFID_1:  "{0}: Error in PPR Insert, antes de nodo con id {1} no existe en el documento",
-    ERR_PPR_INSERTBEFID_2:  "{0}: Error in PPR Insert, despu�s de nodo con id {1} no existe en el documento",
-
-    ERR_PPR_DELID:          "{0}: Error durante borrado, id no presente en xml",
-    ERR_PPR_UNKNOWNCID:     "{0}:  Desconocido Html-Component-ID: {1}",
-    ERR_NO_VIEWROOTATTR:    "{0}: El cambio de atributos de ViewRoot attributes no es posible",
-    ERR_NO_HEADATTR:        "{0}: El cambio de los atributos de Head attributes no es posible",
-    ERR_RED_URL:            "{0}: Redirecci�n sin url",
-
-    ERR_REQ_FAILED_UNKNOWN: "La petici�n ha fallado con estado desconocido",
-    ERR_REQU_FAILED:        "La petici�n ha fallado con estado {0} y raz�n {1}",
-    UNKNOWN:                "DESCONOCIDO"
+_MF_CLS && _MF_CLS(_PFX_I18N + "Messages_es", myfaces._impl.i18n.Messages,
+        /** @lends myfaces._impl.i18n.Messages_es.prototype */
+        {
+
+
+            MSG_TEST:               "Mensajeprueba",
+
+            /*Messages*/
+            MSG_DEV_MODE:           "Aviso. Este mensaje solo se envia porque el 'Project Stage' es 'Development' y no hay otros 'listeners' de errores registrados.",
+            MSG_AFFECTED_CLASS:     "Clase Afectada:",
+            MSG_AFFECTED_METHOD:    "M�todo Afectado:",
+
+            MSG_ERROR_NAME:         "Nombre del Error:",
+            MSG_ERROR_MESSAGE:      "Nombre del Error:",
+
+            MSG_ERROR_DESC:         "Descripci�n del Error:",
+            MSG_ERROR_NO:           "N�mero de Error:",
+            MSG_ERROR_LINENO:       "N�mero de L�nea del Error:",
+
+            /*Errors and messages*/
+            ERR_FORM:               "El formulario de origen no ha podido ser determinado, debido a que el elemento no forma parte de un formulario o hay diversos formularios con elementos usando el mismo nombre o identificador. Parando el procesamiento de Ajax.",
+            ERR_VIEWSTATE:          "jsf.viewState: el valor del par�metro no es de tipo 'form'!",
+            ERR_TRANSPORT:          "El tipo de transporte {0} no existe",
+            ERR_EVT_PASS:           "un evento debe ser transmitido (sea null o no definido)",
+            ERR_CONSTRUCT:          "Partes de la respuesta no pudieron ser recuperadas cuando construyendo los datos del evento: {0} ",
+            ERR_MALFORMEDXML:       "La respuesta del servidor no ha podido ser interpretada. El servidor ha devuelto una respuesta que no es xml !",
+            ERR_SOURCE_FUNC:        "el origen no puede ser una funci�n (probablemente 'source' y evento no han sido definidos o son 'null'",
+            ERR_EV_OR_UNKNOWN:      "Un objeto de tipo evento o desconocido debe ser pasado como segundo par�metro",
+            ERR_SOURCE_NOSTR:       "el origen no puede ser 'string'",
+            ERR_SOURCE_DEF_NULL:    "el origen debe haber sido definido o ser 'null'",
+
+            //_Lang.js
+            ERR_MUST_STRING:        "{0}: {1} namespace debe ser de tipo String",
+            ERR_REF_OR_ID:          "{0}: {1} una referencia a un nodo o identificador tiene que ser pasada",
+            ERR_PARAM_GENERIC:      "{0}: el par�metro {1} tiene que ser de tipo {2}",
+            ERR_PARAM_STR:          "{0}: el par�metro {1} tiene que ser de tipo string",
+            ERR_PARAM_STR_RE:       "{0}: el par�metro {1} tiene que ser de tipo string o una expresi�n regular",
+            ERR_PARAM_MIXMAPS:      "{0}: han de ser pasados tanto un origen como un destino",
+            ERR_MUST_BE_PROVIDED:   "{0}: {1} y {2} deben ser pasados",
+            ERR_MUST_BE_PROVIDED1:  "{0}: {1} debe estar definido",
+
+            ERR_REPLACE_EL:         "replaceElements invocado mientras que evalNodes no es un an array",
+            ERR_EMPTY_RESPONSE:     "{0}: �La respuesta no puede ser de tipo 'null' o vac�a!",
+            ERR_ITEM_ID_NOTFOUND:   "{0}: el elemento con identificador {1} no ha sido encontrado",
+            ERR_PPR_IDREQ:          "{0}: Error en PPR Insert, 'id' debe estar presente",
+            ERR_PPR_INSERTBEFID:    "{0}: Error in PPR Insert, antes de 'id' o despu�s de 'id' deben estar presentes",
+            ERR_PPR_INSERTBEFID_1:  "{0}: Error in PPR Insert, antes de nodo con id {1} no existe en el documento",
+            ERR_PPR_INSERTBEFID_2:  "{0}: Error in PPR Insert, despu�s de nodo con id {1} no existe en el documento",
+
+            ERR_PPR_DELID:          "{0}: Error durante borrado, id no presente en xml",
+            ERR_PPR_UNKNOWNCID:     "{0}:  Desconocido Html-Component-ID: {1}",
+            ERR_NO_VIEWROOTATTR:    "{0}: El cambio de atributos de ViewRoot attributes no es posible",
+            ERR_NO_HEADATTR:        "{0}: El cambio de los atributos de Head attributes no es posible",
+            ERR_RED_URL:            "{0}: Redirecci�n sin url",
+
+            ERR_REQ_FAILED_UNKNOWN: "La petici�n ha fallado con estado desconocido",
+            ERR_REQU_FAILED:        "La petici�n ha fallado con estado {0} y raz�n {1}",
+            UNKNOWN:                "DESCONOCIDO"
+
+        });
 
-});
\ No newline at end of file

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_fr.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_fr.js?rev=1186685&r1=1186684&r2=1186685&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_fr.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_fr.js Thu Oct 20 09:27:33 2011
@@ -15,71 +15,67 @@
  */
 
 
-/**
- * System messages french version version
- * (note the base version is basically the en) version
- * of all messages
- *
- * @class
- * @name Messages_fr
- * @extends myfaces._impl.i18n.Messages
- * @memberOf myfaces._impl.i18n
- */
-_MF_CLS(_PFX_I18N+"Messages_fr", myfaces._impl.i18n.Messages,
-/** @lends myfaces._impl.i18n.Messages_fr.prototype */
-{
-    MSG_TEST:               "MessageTest FR",
-
-       /*Messages*/
-       MSG_DEV_MODE:           "Note : ce message n'est envoyé que parce que le projet est au stade de développement et " +
-                               "qu'aucun autre listener d'erreurs n'est enregistré.",
-       MSG_AFFECTED_CLASS:     "Classe affectée : ",
-       MSG_AFFECTED_METHOD:    "Méthode affectée : ",
-
-       MSG_ERROR_NAME:         "Nom de l'erreur : ",
-       MSG_ERROR_MESSAGE:      "Nom de l'erreur : ",
-
-       MSG_ERROR_DESC:         "Description de l'erreur : ",
-       MSG_ERROR_NO:           "Numéro de l'erreur : ",
-       MSG_ERROR_LINENO:       "Erreur à la ligne : ",
-
-       /*Errors and messages*/
-       ERR_FORM:               "Le formulaire source n'a pas pu être déterminé, soit parce que l'élément n'est rattaché à aucun formulaire, soit parce qu'ils y a plusieurs formulaires contenant des éléments avec le même nom ou identifiant. Arrêt du traitement AJAX",
-       ERR_VIEWSTATE:          "jsf.viewState: La valeur de 'param' n'est pas de type 'form' !",
-       ERR_TRANSPORT:          "Le type de tansport {0} n'existe pas",
-       ERR_EVT_PASS:           "Un évènement doit être transmis (soit un objet évènement, soit null ou undefined) ",
-       ERR_CONSTRUCT:          "Des éléments de la réponse n'ont pu être récupérés lors de la construction des données de l'évènement : {0} ",
-       ERR_MALFORMEDXML:       "La réponse du serveur n'a pas pu être analysée : le serveur n'a pas renvoyé une réponse en xml !",
-       ERR_SOURCE_FUNC:        "La source ne peut pas être une fonction (Il est probable que 'source' et 'event' n'ont pas été définis ou mis à null",
-       ERR_EV_OR_UNKNOWN:      "Le second paramètre doit être un objet évènement ou 'unknown' ",
-       ERR_SOURCE_NOSTR:       "La source ne peut pas être de type String",
-       ERR_SOURCE_DEF_NULL:    "La source doit être définie ou égale à null",
-
-       //_Lang.js
-       ERR_MUST_STRING:        "{0}: Le namespace {1} doit être de type String",
-       ERR_REF_OR_ID:          "{0}: {1} un noeud de référence ou un identifiant doit être passé",
-       ERR_PARAM_GENERIC:      "{0}: Le paramètre {1} doit être de type {2}",
-       ERR_PARAM_STR:          "{0}: Le paramètre {1} doit être de type String",
-       ERR_PARAM_STR_RE:       "{0}: Le paramètre {1} doit être de type String ou être une expression régulière",
-       ERR_PARAM_MIXMAPS:      "{0}: Un Map de source et un Map de destination doivent être passés",
-       ERR_MUST_BE_PROVIDED:   "{0}: un(e) {1} et un(e) {2} doivent être passés",
-       ERR_MUST_BE_PROVIDED1:  "{0}: {1} doit être défini",
-
-       ERR_REPLACE_EL:         "replaceElements a été appelé alors que evalNodes n'est pas un tableau",
-       ERR_EMPTY_RESPONSE:     "{0}: La réponse ne peut pas être nulle ou vide !",
-       ERR_ITEM_ID_NOTFOUND:   "{0}: l'élément portant l'identifiant {1} n'a pas pu être trouvé",
-       ERR_PPR_IDREQ:          "{0}: Erreur lors de l'insertion PPR, l'id doit être présent",
-       ERR_PPR_INSERTBEFID:    "{0}: Erreur lors de l'insertion PPR, 'before id' ou 'after id' doivent être présents",
-       ERR_PPR_INSERTBEFID_1:  "{0}: Erreur lors de l'insertion PPR, le noeud before de l'id {1} n'existe pas dans le document",
-       ERR_PPR_INSERTBEFID_2:  "{0}: Erreur lors de l'insertion PPR, le noeud after  de l'id {1} n'existe pas dans le document",
-
-       ERR_PPR_DELID:          "{0}: Erreur lors de la suppression, l'id n'est pas présent dans le xml",
-       ERR_PPR_UNKNOWNCID:     "{0}:  Html-Component-ID inconnu : {1}",
-       ERR_NO_VIEWROOTATTR:    "{0}: Le changement d'attributs dans ViewRoot n'est pas supporté",
-       ERR_NO_HEADATTR:        "{0}: Le changement d'attributs dans Head n'est pas supporté",
-       ERR_RED_URL:            "{0}: Redirection sans url"
-
-
-
-
-});
\ No newline at end of file
+    /**
+     * System messages french version version
+     * (note the base version is basically the en) version
+     * of all messages
+     *
+     * @class
+     * @name Messages_fr
+     * @extends myfaces._impl.i18n.Messages
+     * @memberOf myfaces._impl.i18n
+     */
+    _MF_CLS && _MF_CLS(_PFX_I18N + "Messages_fr", myfaces._impl.i18n.Messages,
+            /** @lends myfaces._impl.i18n.Messages_fr.prototype */
+            {
+                MSG_TEST:               "MessageTest FR",
+
+                /*Messages*/
+                MSG_DEV_MODE:           "Note : ce message n'est envoyé que parce que le projet est au stade de développement et " +
+                        "qu'aucun autre listener d'erreurs n'est enregistré.",
+                MSG_AFFECTED_CLASS:     "Classe affectée : ",
+                MSG_AFFECTED_METHOD:    "Méthode affectée : ",
+
+                MSG_ERROR_NAME:         "Nom de l'erreur : ",
+                MSG_ERROR_MESSAGE:      "Nom de l'erreur : ",
+
+                MSG_ERROR_DESC:         "Description de l'erreur : ",
+                MSG_ERROR_NO:           "Numéro de l'erreur : ",
+                MSG_ERROR_LINENO:       "Erreur à la ligne : ",
+
+                /*Errors and messages*/
+                ERR_FORM:               "Le formulaire source n'a pas pu être déterminé, soit parce que l'élément n'est rattaché à aucun formulaire, soit parce qu'ils y a plusieurs formulaires contenant des éléments avec le même nom ou identifiant. Arrêt du traitement AJAX",
+                ERR_VIEWSTATE:          "jsf.viewState: La valeur de 'param' n'est pas de type 'form' !",
+                ERR_TRANSPORT:          "Le type de tansport {0} n'existe pas",
+                ERR_EVT_PASS:           "Un évènement doit être transmis (soit un objet évènement, soit null ou undefined) ",
+                ERR_CONSTRUCT:          "Des éléments de la réponse n'ont pu être récupérés lors de la construction des données de l'évènement : {0} ",
+                ERR_MALFORMEDXML:       "La réponse du serveur n'a pas pu être analysée : le serveur n'a pas renvoyé une réponse en xml !",
+                ERR_SOURCE_FUNC:        "La source ne peut pas être une fonction (Il est probable que 'source' et 'event' n'ont pas été définis ou mis à null",
+                ERR_EV_OR_UNKNOWN:      "Le second paramètre doit être un objet évènement ou 'unknown' ",
+                ERR_SOURCE_NOSTR:       "La source ne peut pas être de type String",
+                ERR_SOURCE_DEF_NULL:    "La source doit être définie ou égale à null",
+
+                //_Lang.js
+                ERR_MUST_STRING:        "{0}: Le namespace {1} doit être de type String",
+                ERR_REF_OR_ID:          "{0}: {1} un noeud de référence ou un identifiant doit être passé",
+                ERR_PARAM_GENERIC:      "{0}: Le paramètre {1} doit être de type {2}",
+                ERR_PARAM_STR:          "{0}: Le paramètre {1} doit être de type String",
+                ERR_PARAM_STR_RE:       "{0}: Le paramètre {1} doit être de type String ou être une expression régulière",
+                ERR_PARAM_MIXMAPS:      "{0}: Un Map de source et un Map de destination doivent être passés",
+                ERR_MUST_BE_PROVIDED:   "{0}: un(e) {1} et un(e) {2} doivent être passés",
+                ERR_MUST_BE_PROVIDED1:  "{0}: {1} doit être défini",
+
+                ERR_REPLACE_EL:         "replaceElements a été appelé alors que evalNodes n'est pas un tableau",
+                ERR_EMPTY_RESPONSE:     "{0}: La réponse ne peut pas être nulle ou vide !",
+                ERR_ITEM_ID_NOTFOUND:   "{0}: l'élément portant l'identifiant {1} n'a pas pu être trouvé",
+                ERR_PPR_IDREQ:          "{0}: Erreur lors de l'insertion PPR, l'id doit être présent",
+                ERR_PPR_INSERTBEFID:    "{0}: Erreur lors de l'insertion PPR, 'before id' ou 'after id' doivent être présents",
+                ERR_PPR_INSERTBEFID_1:  "{0}: Erreur lors de l'insertion PPR, le noeud before de l'id {1} n'existe pas dans le document",
+                ERR_PPR_INSERTBEFID_2:  "{0}: Erreur lors de l'insertion PPR, le noeud after  de l'id {1} n'existe pas dans le document",
+
+                ERR_PPR_DELID:          "{0}: Erreur lors de la suppression, l'id n'est pas présent dans le xml",
+                ERR_PPR_UNKNOWNCID:     "{0}:  Html-Component-ID inconnu : {1}",
+                ERR_NO_VIEWROOTATTR:    "{0}: Le changement d'attributs dans ViewRoot n'est pas supporté",
+                ERR_NO_HEADATTR:        "{0}: Le changement d'attributs dans Head n'est pas supporté",
+                ERR_RED_URL:            "{0}: Redirection sans url"
+            });

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_it.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_it.js?rev=1186685&r1=1186684&r2=1186685&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_it.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_it.js Thu Oct 20 09:27:33 2011
@@ -24,54 +24,55 @@
  * @extends myfaces._impl.i18n.Messages
  * @memberOf myfaces._impl.i18n
  */
-_MF_CLS(_PFX_I18N+"Messages_it", myfaces._impl.i18n.Messages,
-/** @lends myfaces._impl.i18n.Messages_it.prototype */
-{
-    /*Messages*/
-    MSG_DEV_MODE:           "Questo messaggio � stato inviato esclusivamente perch� il progetto � in development stage e nessun altro listener � stato registrato.",
-    MSG_AFFECTED_CLASS:     "Classi coinvolte:",
-    MSG_AFFECTED_METHOD:    "Metodi coinvolti:",
-
-    MSG_ERROR_NAME:         "Nome dell'errore:",
-    MSG_ERROR_MESSAGE:      "Nome dell'errore:",
-
-    MSG_ERROR_DESC:         "Descrizione dell'errore:",
-    MSG_ERROR_NO:           "Numero errore:",
-    MSG_ERROR_LINENO:       "Numero di riga dell'errore:",
-
-    /*Errors and messages*/
-    ERR_FORM:               "Il Sourceform non puo' essere determinato a causa di una delle seguenti ragioni: l'elemento non e' agganciato ad un form oppure sono presenti pi� form con elementi con lo stesso nome, il che blocca l'elaborazione ajax",
-    ERR_VIEWSTATE:          "jsf.viewState: il valore del parametro non � di tipo form!",
-    ERR_TRANSPORT:          "Il transport type {0} non esiste",
-    ERR_EVT_PASS:           "� necessario passare un evento (sono accettati anche gli event object null oppure undefined) ",
-    ERR_CONSTRUCT:          "Durante la costruzione dell' event data: {0} non � stato possibile acquisire alcune parti della response ",
-    ERR_MALFORMEDXML:       "Il formato della risposta del server non era xml, non � stato quindi possibile effettuarne il parsing!",
-    ERR_SOURCE_FUNC:        "source non puo' essere una funzione (probabilmente source and event non erano stati definiti o sono null",
-    ERR_EV_OR_UNKNOWN:      "Come secondo parametro bisogna passare un event object oppure unknown",
-    ERR_SOURCE_NOSTR:       "source non pu� essere una stringa di testo",
-    ERR_SOURCE_DEF_NULL:    "source deve essere definito oppure  null",
-
-    //_Lang.js
-    ERR_MUST_STRING:        "{0}: {1} namespace deve essere di tipo String",
-    ERR_REF_OR_ID:          "{0}: {1} un reference node oppure un identificatore deve essere fornito",
-    ERR_PARAM_GENERIC:      "{0}: il parametro {1} deve essere di tipo {2}",
-    ERR_PARAM_STR:          "{0}: {1} parametro deve essere di tipo String",
-    ERR_PARAM_STR_RE:       "{0}: {1} parametro deve essere di tipo String oppure una regular expression",
-    ERR_PARAM_MIXMAPS:      "{0}: � necessario specificare sia  source che destination map",
-    ERR_MUST_BE_PROVIDED:   "{0}: � necessario specificare sia {1} che {2} ",
-    ERR_MUST_BE_PROVIDED1:  "{0}: {1} deve essere settato",
-
-    ERR_REPLACE_EL:         "replaceElements chiamato metre evalNodes non � un array",
-    ERR_EMPTY_RESPONSE:     "{0}: La response non puo' essere nulla o vuota!",
-    ERR_ITEM_ID_NOTFOUND:   "{0}: non � stato trovato alcun item con identificativo {1}",
-    ERR_PPR_IDREQ:          "{0}: Errore durante la PPR Insert, l' id deve essere specificato",
-    ERR_PPR_INSERTBEFID:    "{0}: Errore durante la PPR Insert, before id o after id deve essere specificato",
-    ERR_PPR_INSERTBEFID_1:  "{0}: Errore durante la PPR Insert, before node of id {1} non esiste nel document",
-    ERR_PPR_INSERTBEFID_2:  "{0}: Errore durante la PPR Insert, after  node of id {1} non esiste nel in document",
-
-    ERR_PPR_DELID:          "{0}: Errore durante la delete, l'id non e' nella forma di un markup xml",
-    ERR_PPR_UNKNOWNCID:     "{0}:   Html-Component-ID: {1} sconosciuto",
-    ERR_NO_VIEWROOTATTR:    "{0}: La modifica degli attributi del ViewRoot non � supportata",
-    ERR_NO_HEADATTR:        "{0}: La modifica degli attributi di Head non � supportata",
-    ERR_RED_URL:            "{0}: Redirect senza url"
-});
\ No newline at end of file
+_MF_CLS && _MF_CLS(_PFX_I18N + "Messages_it", myfaces._impl.i18n.Messages,
+        /** @lends myfaces._impl.i18n.Messages_it.prototype */
+        {
+            /*Messages*/
+            MSG_DEV_MODE:           "Questo messaggio � stato inviato esclusivamente perch� il progetto � in development stage e nessun altro listener � stato registrato.",
+            MSG_AFFECTED_CLASS:     "Classi coinvolte:",
+            MSG_AFFECTED_METHOD:    "Metodi coinvolti:",
+
+            MSG_ERROR_NAME:         "Nome dell'errore:",
+            MSG_ERROR_MESSAGE:      "Nome dell'errore:",
+
+            MSG_ERROR_DESC:         "Descrizione dell'errore:",
+            MSG_ERROR_NO:           "Numero errore:",
+            MSG_ERROR_LINENO:       "Numero di riga dell'errore:",
+
+            /*Errors and messages*/
+            ERR_FORM:               "Il Sourceform non puo' essere determinato a causa di una delle seguenti ragioni: l'elemento non e' agganciato ad un form oppure sono presenti pi� form con elementi con lo stesso nome, il che blocca l'elaborazione ajax",
+            ERR_VIEWSTATE:          "jsf.viewState: il valore del parametro non � di tipo form!",
+            ERR_TRANSPORT:          "Il transport type {0} non esiste",
+            ERR_EVT_PASS:           "� necessario passare un evento (sono accettati anche gli event object null oppure undefined) ",
+            ERR_CONSTRUCT:          "Durante la costruzione dell' event data: {0} non � stato possibile acquisire alcune parti della response ",
+            ERR_MALFORMEDXML:       "Il formato della risposta del server non era xml, non � stato quindi possibile effettuarne il parsing!",
+            ERR_SOURCE_FUNC:        "source non puo' essere una funzione (probabilmente source and event non erano stati definiti o sono null",
+            ERR_EV_OR_UNKNOWN:      "Come secondo parametro bisogna passare un event object oppure unknown",
+            ERR_SOURCE_NOSTR:       "source non pu� essere una stringa di testo",
+            ERR_SOURCE_DEF_NULL:    "source deve essere definito oppure  null",
+
+            //_Lang.js
+            ERR_MUST_STRING:        "{0}: {1} namespace deve essere di tipo String",
+            ERR_REF_OR_ID:          "{0}: {1} un reference node oppure un identificatore deve essere fornito",
+            ERR_PARAM_GENERIC:      "{0}: il parametro {1} deve essere di tipo {2}",
+            ERR_PARAM_STR:          "{0}: {1} parametro deve essere di tipo String",
+            ERR_PARAM_STR_RE:       "{0}: {1} parametro deve essere di tipo String oppure una regular expression",
+            ERR_PARAM_MIXMAPS:      "{0}: � necessario specificare sia  source che destination map",
+            ERR_MUST_BE_PROVIDED:   "{0}: � necessario specificare sia {1} che {2} ",
+            ERR_MUST_BE_PROVIDED1:  "{0}: {1} deve essere settato",
+
+            ERR_REPLACE_EL:         "replaceElements chiamato metre evalNodes non � un array",
+            ERR_EMPTY_RESPONSE:     "{0}: La response non puo' essere nulla o vuota!",
+            ERR_ITEM_ID_NOTFOUND:   "{0}: non � stato trovato alcun item con identificativo {1}",
+            ERR_PPR_IDREQ:          "{0}: Errore durante la PPR Insert, l' id deve essere specificato",
+            ERR_PPR_INSERTBEFID:    "{0}: Errore durante la PPR Insert, before id o after id deve essere specificato",
+            ERR_PPR_INSERTBEFID_1:  "{0}: Errore durante la PPR Insert, before node of id {1} non esiste nel document",
+            ERR_PPR_INSERTBEFID_2:  "{0}: Errore durante la PPR Insert, after  node of id {1} non esiste nel in document",
+
+            ERR_PPR_DELID:          "{0}: Errore durante la delete, l'id non e' nella forma di un markup xml",
+            ERR_PPR_UNKNOWNCID:     "{0}:   Html-Component-ID: {1} sconosciuto",
+            ERR_NO_VIEWROOTATTR:    "{0}: La modifica degli attributi del ViewRoot non � supportata",
+            ERR_NO_HEADATTR:        "{0}: La modifica degli attributi di Head non � supportata",
+            ERR_RED_URL:            "{0}: Redirect senza url"
+        });
+

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_nl.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_nl.js?rev=1186685&r1=1186684&r2=1186685&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_nl.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_nl.js Thu Oct 20 09:27:33 2011
@@ -22,63 +22,63 @@
  * @extends myfaces._impl.i18n.Messages
  * @memberOf myfaces._impl.i18n
  */
-_MF_CLS(_PFX_I18N+"Messages_nl", myfaces._impl.i18n.Messages,
-/** @lends myfaces._impl.i18n.Messages_nl.prototype */
-{
-
-    MSG_TEST:               "Testbericht",
-
-    /*Messages*/
-    MSG_DEV_MODE:           "Opmerking, dit bericht is enkel gestuurd omdat het project stadium develoment is en er geen " +
-            "andere listeners zijn geconfigureerd.",
-    MSG_AFFECTED_CLASS:     "Betrokken Klasse:",
-    MSG_AFFECTED_METHOD:    "Betrokken Methode:",
-
-    MSG_ERROR_NAME:         "Naam foutbericht:",
-    MSG_ERROR_MESSAGE:      "Naam foutbericht:",
-
-    MSG_ERROR_DESC:         "Omschrijving fout:",
-    MSG_ERROR_NO:           "Fout nummer:",
-    MSG_ERROR_LINENO:       "Fout lijn nummer:",
-
-    /*Errors and messages*/
-    ERR_FORM:               "De doel form kon niet bepaald worden, ofwel omdat het element niet tot een form behoort, ofwel omdat er verschillende forms zijn met 'named element' met dezelfde identifier of naam, ajax verwerking is gestopt.",
-    ERR_VIEWSTATE:          "jsf.viewState: param waarde is niet van het type form!",
-    ERR_TRANSPORT:          "Transport type {0} bestaat niet",
-    ERR_EVT_PASS:           "een event moet opgegegevn worden (ofwel een event object null of undefined) ",
-    ERR_CONSTRUCT:          "Delen van het antwoord konden niet opgehaald worden bij het aanmaken van de event data: {0} ",
-    ERR_MALFORMEDXML:       "Het antwoordt van de server kon niet ontleed worden, de server heeft een antwoord gegeven welke geen xml bevat!",
-    ERR_SOURCE_FUNC:        "source kan geen functie zijn (waarschijnlijk zijn source en event niet gedefinieerd of kregen de waarde null)",
-    ERR_EV_OR_UNKNOWN:      "Een event object of 'unknown' moet gespecifieerd worden als tweede parameter",
-    ERR_SOURCE_NOSTR:       "source kan geen string zijn",
-    ERR_SOURCE_DEF_NULL:    "source moet gedefinieerd zijn of null bevatten",
-
-    //_Lang.js
-    ERR_MUST_STRING:        "{0}: {1} namespace moet van het type String zijn",
-    ERR_REF_OR_ID:          "{0}: {1} een referentie node of identifier moet opgegeven worden",
-    ERR_PARAM_GENERIC:      "{0}: parameter {1} moet van het type {2} zijn",
-    ERR_PARAM_STR:          "{0}: {1} parameter moet van het type string zijn",
-    ERR_PARAM_STR_RE:       "{0}: {1} parameter moet van het type string zijn of een reguliere expressie",
-    ERR_PARAM_MIXMAPS:      "{0}: zowel source als destination map moeten opgegeven zijn",
-    ERR_MUST_BE_PROVIDED:   "{0}: een {1} en een {2} moeten opgegeven worden",
-    ERR_MUST_BE_PROVIDED1:  "{0}: {1} moet gezet zijn",
-
-    ERR_REPLACE_EL:         "replaceElements opgeroepen maar evalNodes is geen array",
-    ERR_EMPTY_RESPONSE:     "{0}: Het antwoord kan geen null of leeg zijn!",
-    ERR_ITEM_ID_NOTFOUND:   "{0}: item met identifier {1} kan niet gevonden worden",
-    ERR_PPR_IDREQ:          "{0}: Fout in PPR Insert, id moet bestaan",
-    ERR_PPR_INSERTBEFID:    "{0}: Fout in PPR Insert, before id of after id moet bestaan",
-    ERR_PPR_INSERTBEFID_1:  "{0}: Fout in PPR Insert, before node van id {1} bestaat niet in het document",
-    ERR_PPR_INSERTBEFID_2:  "{0}: Fout in PPR Insert, after node van id {1} bestaat niet in het document",
-
-    ERR_PPR_DELID:          "{0}: Fout in delete, id is niet in de xml markup",
-    ERR_PPR_UNKNOWNCID:     "{0}: Onbekende Html-Component-ID: {1}",
-    ERR_NO_VIEWROOTATTR:    "{0}: Wijzigen van ViewRoot attributen is niet ondersteund",
-    ERR_NO_HEADATTR:        "{0}: Wijzigen van Head attributen is niet ondersteund",
-    ERR_RED_URL:            "{0}: Redirect zonder url",
-
-    ERR_REQ_FAILED_UNKNOWN: "Request mislukt met onbekende status",
-    ERR_REQU_FAILED:        "Request mislukt met status {0} en reden {1}",
-    UNKNOWN:                "ONBEKEND"
+_MF_CLS && _MF_CLS(_PFX_I18N + "Messages_nl", myfaces._impl.i18n.Messages,
+        /** @lends myfaces._impl.i18n.Messages_nl.prototype */
+        {
+
+            MSG_TEST:               "Testbericht",
+
+            /*Messages*/
+            MSG_DEV_MODE:           "Opmerking, dit bericht is enkel gestuurd omdat het project stadium develoment is en er geen " +
+                    "andere listeners zijn geconfigureerd.",
+            MSG_AFFECTED_CLASS:     "Betrokken Klasse:",
+            MSG_AFFECTED_METHOD:    "Betrokken Methode:",
+
+            MSG_ERROR_NAME:         "Naam foutbericht:",
+            MSG_ERROR_MESSAGE:      "Naam foutbericht:",
+
+            MSG_ERROR_DESC:         "Omschrijving fout:",
+            MSG_ERROR_NO:           "Fout nummer:",
+            MSG_ERROR_LINENO:       "Fout lijn nummer:",
+
+            /*Errors and messages*/
+            ERR_FORM:               "De doel form kon niet bepaald worden, ofwel omdat het element niet tot een form behoort, ofwel omdat er verschillende forms zijn met 'named element' met dezelfde identifier of naam, ajax verwerking is gestopt.",
+            ERR_VIEWSTATE:          "jsf.viewState: param waarde is niet van het type form!",
+            ERR_TRANSPORT:          "Transport type {0} bestaat niet",
+            ERR_EVT_PASS:           "een event moet opgegegevn worden (ofwel een event object null of undefined) ",
+            ERR_CONSTRUCT:          "Delen van het antwoord konden niet opgehaald worden bij het aanmaken van de event data: {0} ",
+            ERR_MALFORMEDXML:       "Het antwoordt van de server kon niet ontleed worden, de server heeft een antwoord gegeven welke geen xml bevat!",
+            ERR_SOURCE_FUNC:        "source kan geen functie zijn (waarschijnlijk zijn source en event niet gedefinieerd of kregen de waarde null)",
+            ERR_EV_OR_UNKNOWN:      "Een event object of 'unknown' moet gespecifieerd worden als tweede parameter",
+            ERR_SOURCE_NOSTR:       "source kan geen string zijn",
+            ERR_SOURCE_DEF_NULL:    "source moet gedefinieerd zijn of null bevatten",
+
+            //_Lang.js
+            ERR_MUST_STRING:        "{0}: {1} namespace moet van het type String zijn",
+            ERR_REF_OR_ID:          "{0}: {1} een referentie node of identifier moet opgegeven worden",
+            ERR_PARAM_GENERIC:      "{0}: parameter {1} moet van het type {2} zijn",
+            ERR_PARAM_STR:          "{0}: {1} parameter moet van het type string zijn",
+            ERR_PARAM_STR_RE:       "{0}: {1} parameter moet van het type string zijn of een reguliere expressie",
+            ERR_PARAM_MIXMAPS:      "{0}: zowel source als destination map moeten opgegeven zijn",
+            ERR_MUST_BE_PROVIDED:   "{0}: een {1} en een {2} moeten opgegeven worden",
+            ERR_MUST_BE_PROVIDED1:  "{0}: {1} moet gezet zijn",
+
+            ERR_REPLACE_EL:         "replaceElements opgeroepen maar evalNodes is geen array",
+            ERR_EMPTY_RESPONSE:     "{0}: Het antwoord kan geen null of leeg zijn!",
+            ERR_ITEM_ID_NOTFOUND:   "{0}: item met identifier {1} kan niet gevonden worden",
+            ERR_PPR_IDREQ:          "{0}: Fout in PPR Insert, id moet bestaan",
+            ERR_PPR_INSERTBEFID:    "{0}: Fout in PPR Insert, before id of after id moet bestaan",
+            ERR_PPR_INSERTBEFID_1:  "{0}: Fout in PPR Insert, before node van id {1} bestaat niet in het document",
+            ERR_PPR_INSERTBEFID_2:  "{0}: Fout in PPR Insert, after node van id {1} bestaat niet in het document",
+
+            ERR_PPR_DELID:          "{0}: Fout in delete, id is niet in de xml markup",
+            ERR_PPR_UNKNOWNCID:     "{0}: Onbekende Html-Component-ID: {1}",
+            ERR_NO_VIEWROOTATTR:    "{0}: Wijzigen van ViewRoot attributen is niet ondersteund",
+            ERR_NO_HEADATTR:        "{0}: Wijzigen van Head attributen is niet ondersteund",
+            ERR_RED_URL:            "{0}: Redirect zonder url",
+
+            ERR_REQ_FAILED_UNKNOWN: "Request mislukt met onbekende status",
+            ERR_REQU_FAILED:        "Request mislukt met status {0} en reden {1}",
+            UNKNOWN:                "ONBEKEND"
 
-});
+        });

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_ru.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_ru.js?rev=1186685&r1=1186684&r2=1186685&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_ru.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_ru.js Thu Oct 20 09:27:33 2011
@@ -13,68 +13,69 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
+if (!_IMPL_NO_INIT) {
+    /**
+     * System messages kyrillic/russian version
+     *
+     * @class
+     * @name Messages_nl
+     * @extends myfaces._impl.i18n.Messages
+     * @memberOf myfaces._impl.i18n
+     */
+    _MF_CLS(_PFX_I18N + "Messages_ru", myfaces._impl.i18n.Messages,
+    /** myfaces._impl.i18n.Messages_ru.prototype */
+    {
+
+        MSG_TEST:               "ТестовоеСообщение",
+
+        /*Messages*/
+        MSG_DEV_MODE:           "Это сообщение выдано, потому что 'project stage' было присоено значение 'development', и никаких" +
+                "других error listeners зарегистрировано не было.",
+        MSG_AFFECTED_CLASS:     "Задействованный класс:",
+        MSG_AFFECTED_METHOD:    "Задействованный метод:",
+
+        MSG_ERROR_NAME:         "Имя ошибки:",
+        MSG_ERROR_MESSAGE:      "Имя ошибки:",
+
+        MSG_ERROR_DESC:         "Описание ошибки:",
+        MSG_ERROR_NO:           "Номер ошибки:",
+        MSG_ERROR_LINENO:       "Номер строки ошибки:",
+
+        /*Errors and messages*/
+        ERR_FORM:               "Sourceform не найдена, потому что элемент не находится внутри <form>, либо были найдены элементы <form> с рдинаковым именем или идентификатором. Обработка ajax остановлена",
+        ERR_VIEWSTATE:          "jsf.viewState: Параметру присвоено значение, не являющееся элементом <form>!",
+        ERR_TRANSPORT:          "Несуществующий тип транспорта {0}",
+        ERR_EVT_PASS:           "Параметр event необходим, и не может быть null или undefined",
+        ERR_CONSTRUCT:          "Часть ответа не удалось прочитать при создании данных события: {0} ",
+        ERR_MALFORMEDXML:       "Ответ сервера не может быть обработан, он не в формате xml !",
+        ERR_SOURCE_FUNC:        "source не может быть функцией (возможно, для source и event не были даны значения",
+        ERR_EV_OR_UNKNOWN:      "Объект event или unknown должен быть всторым параметром",
+        ERR_SOURCE_NOSTR:       "source не может быть типа string",
+        ERR_SOURCE_DEF_NULL:    "source должно быть присвоено значение или null",
+
+        //_Lang.js
+        ERR_MUST_STRING:        "{0}: {1} namespace должно быть типа String",
+        ERR_REF_OR_ID:          "{0}: {1} a Ссылочный узел (reference node) или идентификатор необходимы",
+        ERR_PARAM_GENERIC:      "{0}: параметр {1} должен быть типа {2}",
+        ERR_PARAM_STR:          "{0}: {1} параметр должен быть типа string",
+        ERR_PARAM_STR_RE:       "{0}: {1} параметр должен быть типа string string или regular expression",
+        ERR_PARAM_MIXMAPS:      "{0}: source b destination map необходимы",
+        ERR_MUST_BE_PROVIDED:   "{0}: {1} и {2} необходимы",
+        ERR_MUST_BE_PROVIDED1:  "{0}: {1} должно быть присвоено значение",
+
+        ERR_REPLACE_EL:         "replaceElements вызвана, с evalNodes, не являющимся массивом",
+        ERR_EMPTY_RESPONSE:     "{0}: Ответ не может бвть null или пустым!",
+        ERR_ITEM_ID_NOTFOUND:   "{0}: Элемент с идентификатором {1} не найден",
+        ERR_PPR_IDREQ:          "{0}: Ошибка в PPR Insert, id необходим",
+        ERR_PPR_INSERTBEFID:    "{0}: Ошибка в PPR Insert, before id или after id необходимы",
+        ERR_PPR_INSERTBEFID_1:  "{0}: Ошибка в PPR Insert, before node c id {1} не найден в документе",
+        ERR_PPR_INSERTBEFID_2:  "{0}: Ошибка в PPR Insert, after node с id {1} не найден в документе",
+
+        ERR_PPR_DELID:          "{0}: Ошибка в удалении, id не найден в xml документе",
+        ERR_PPR_UNKNOWNCID:     "{0}: Неопознанный Html-Component-ID: {1}",
+        ERR_NO_VIEWROOTATTR:    "{0}: Изменение атрибутов ViewRoot не предусмотрено",
+        ERR_NO_HEADATTR:        "{0}: Изменение атрибутов Head не предусмотрено",
+        ERR_RED_URL:            "{0}: Перенаправление (Redirect) без url"
 
-/**
- * System messages kyrillic/russian version
- *
- * @class
- * @name Messages_nl
- * @extends myfaces._impl.i18n.Messages
- * @memberOf myfaces._impl.i18n
- */
-_MF_CLS(_PFX_I18N+"Messages_ru", myfaces._impl.i18n.Messages,
-/** myfaces._impl.i18n.Messages_ru.prototype */
-{
-
-    MSG_TEST:               "ТестовоеСообщение",
-
-    /*Messages*/
-    MSG_DEV_MODE:           "Это сообщение выдано, потому что 'project stage' было присоено значение 'development', и никаких" +
-            "других error listeners зарегистрировано не было.",
-    MSG_AFFECTED_CLASS:     "Задействованный класс:",
-    MSG_AFFECTED_METHOD:    "Задействованный метод:",
-
-    MSG_ERROR_NAME:         "Имя ошибки:",
-    MSG_ERROR_MESSAGE:      "Имя ошибки:",
-
-    MSG_ERROR_DESC:         "Описание ошибки:",
-    MSG_ERROR_NO:           "Номер ошибки:",
-    MSG_ERROR_LINENO:       "Номер строки ошибки:",
-
-    /*Errors and messages*/
-    ERR_FORM:               "Sourceform не найдена, потому что элемент не находится внутри <form>, либо были найдены элементы <form> с рдинаковым именем или идентификатором. Обработка ajax остановлена",
-    ERR_VIEWSTATE:          "jsf.viewState: Параметру присвоено значение, не являющееся элементом <form>!",
-    ERR_TRANSPORT:          "Несуществующий тип транспорта {0}",
-    ERR_EVT_PASS:           "Параметр event необходим, и не может быть null или undefined",
-    ERR_CONSTRUCT:          "Часть ответа не удалось прочитать при создании данных события: {0} ",
-    ERR_MALFORMEDXML:       "Ответ сервера не может быть обработан, он не в формате xml !",
-    ERR_SOURCE_FUNC:        "source не может быть функцией (возможно, для source и event не были даны значения",
-    ERR_EV_OR_UNKNOWN:      "Объект event или unknown должен быть всторым параметром",
-    ERR_SOURCE_NOSTR:       "source не может быть типа string",
-    ERR_SOURCE_DEF_NULL:    "source должно быть присвоено значение или null",
-
-    //_Lang.js
-    ERR_MUST_STRING:        "{0}: {1} namespace должно быть типа String",
-    ERR_REF_OR_ID:          "{0}: {1} a Ссылочный узел (reference node) или идентификатор необходимы",
-    ERR_PARAM_GENERIC:      "{0}: параметр {1} должен быть типа {2}",
-    ERR_PARAM_STR:          "{0}: {1} параметр должен быть типа string",
-    ERR_PARAM_STR_RE:       "{0}: {1} параметр должен быть типа string string или regular expression",
-    ERR_PARAM_MIXMAPS:      "{0}: source b destination map необходимы",
-    ERR_MUST_BE_PROVIDED:   "{0}: {1} и {2} необходимы",
-    ERR_MUST_BE_PROVIDED1:  "{0}: {1} должно быть присвоено значение",
-
-    ERR_REPLACE_EL:         "replaceElements вызвана, с evalNodes, не являющимся массивом",
-    ERR_EMPTY_RESPONSE:     "{0}: Ответ не может бвть null или пустым!",
-    ERR_ITEM_ID_NOTFOUND:   "{0}: Элемент с идентификатором {1} не найден",
-    ERR_PPR_IDREQ:          "{0}: Ошибка в PPR Insert, id необходим",
-    ERR_PPR_INSERTBEFID:    "{0}: Ошибка в PPR Insert, before id или after id необходимы",
-    ERR_PPR_INSERTBEFID_1:  "{0}: Ошибка в PPR Insert, before node c id {1} не найден в документе",
-    ERR_PPR_INSERTBEFID_2:  "{0}: Ошибка в PPR Insert, after node с id {1} не найден в документе",
-
-    ERR_PPR_DELID:          "{0}: Ошибка в удалении, id не найден в xml документе",
-    ERR_PPR_UNKNOWNCID:     "{0}: Неопознанный Html-Component-ID: {1}",
-    ERR_NO_VIEWROOTATTR:    "{0}: Изменение атрибутов ViewRoot не предусмотрено",
-    ERR_NO_HEADATTR:        "{0}: Изменение атрибутов Head не предусмотрено",
-    ERR_RED_URL:            "{0}: Перенаправление (Redirect) без url"
-
-});
\ No newline at end of file
+    });
+}
\ No newline at end of file

Modified: myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_zh_CN.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_zh_CN.js?rev=1186685&r1=1186684&r2=1186685&view=diff
==============================================================================
--- myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_zh_CN.js (original)
+++ myfaces/core/branches/2.0.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/i18n/Messages_zh_CN.js Thu Oct 20 09:27:33 2011
@@ -14,112 +14,113 @@
  * limitations under the License.
  */
 
-/**
- * System messages Simplified Chinese version
- *
- * @class
- * @name Messages_zh_CN
- * @extends myfaces._impl.i18n.Messages
- * @memberOf myfaces._impl.i18n
- */
-_MF_CLS(_PFX_I18N+"Messages_zh_CN", myfaces._impl.i18n.Messages,
-/** @lends myfaces._impl.i18n.Messages_zh_CN.prototype */
-{
-
-    MSG_TEST:               "测试信息",
-
-    /*Messages*/
-    /** @constant */
-    MSG_DEV_MODE:           "请注意,此信息只在项目发展阶段,及没有注册错误监听器而发放。",
-    /** @constant */
-    MSG_AFFECTED_CLASS:     "受影响类别:",
-    /** @constant */
-    MSG_AFFECTED_METHOD:    "受影响方法:",
-    /** @constant */
-    MSG_ERROR_NAME:         "错误名称:",
-    /** @constant */
-    MSG_ERROR_MESSAGE:      "错误信息:",
-    /** @constant */
-    MSG_ERROR_DESC:         "错误说明:",
-    /** @constant */
-    MSG_ERROR_NO:           "错误号码:",
-    /** @constant */
-    MSG_ERROR_LINENO:       "错误行号:",
-
-    /*Errors and messages*/
-    /** @constant */
-    ERR_FORM:               "不能判定源表单,要么没有连接元件到表单,要么有多个相同标识符或名称的表单,AJAX处理停止运作",
-    /** @constant */
-    ERR_VIEWSTATE:          "jsf.viewState:参数值不是表单类型!",
-    /** @constant */
-    ERR_TRANSPORT:          "不存在{0}传输类型",
-    /** @constant */
-    ERR_EVT_PASS:           "必须放弃事件(可能事件物件为空或未定义)",
-    /** @constant */
-    ERR_CONSTRUCT:          "构建事件数据时部分回应不能取得,原因是:{0}",
-    /** @constant */
-    ERR_MALFORMEDXML:       "无法解析服务器的回应,服务器返回的回应不是XML!",
-    /** @constant */
-    ERR_SOURCE_FUNC:        "来源不能是一个函数(可能来源和事件没有定义或设定为空)",
-    /** @constant */
-    ERR_EV_OR_UNKNOWN:      "事件物件或不明必须作为第二个参数传递",
-    /** @constant */
-    ERR_SOURCE_NOSTR:       "来源不能是字串",
-    /** @constant */
-    ERR_SOURCE_DEF_NULL:    "来源必须定义或为空",
-
-    //_Lang.js
-    /** @constant */
-    ERR_MUST_STRING:        "{0}:{1} 名称空间必须是字串类型",
-    /** @constant */
-    ERR_REF_OR_ID:          "{0}:{1} 必须提供参考节点或标识符",
-    /** @constant */
-    ERR_PARAM_GENERIC:      "{0}:{1} 参数必须是 {2} 类型",
-    /** @constant */
-    ERR_PARAM_STR:          "{0}:{1} 参数必须是字串类型",
-    /** @constant */
-    ERR_PARAM_STR_RE:       "{0}:{1} 参数必须是字串类型或正规表达式",
-    /** @constant */
-    ERR_PARAM_MIXMAPS:      "{0}:必须提供来源及目标映射",
-    /** @constant */
-    ERR_MUST_BE_PROVIDED:   "{0}:必须提供 {1} 及 {2}",
-    /** @constant */
-    ERR_MUST_BE_PROVIDED1:  "{0}:必须设定 {1}",
-
-    /** @constant */
-    ERR_REPLACE_EL:         "调用replaceElements函数时evalNodes变量不是阵列类型",
-
-    /** @constant */
-    ERR_EMPTY_RESPONSE:     "{0}:回应不能为空的!",
-    /** @constant */
-    ERR_ITEM_ID_NOTFOUND:   "{0}:找不到有 {1} 标识符的项目",
-    /** @constant */
-    ERR_PPR_IDREQ:          "{0}:局部页面渲染嵌入错误,标识符必须存在",
-    /** @constant */
-    ERR_PPR_INSERTBEFID:    "{0}:局部页面渲染嵌入错误,前或后标识符必须存在",
-    /** @constant */
-    ERR_PPR_INSERTBEFID_1:  "{0}:局部页面渲染嵌入错误,前节点的标识符 {1} 不在文件内",
-    /** @constant */
-    ERR_PPR_INSERTBEFID_2:  "{0}:局部页面渲染嵌入错误,后节点的标识符 {1} 不在文件内",
-
-    /** @constant */
-    ERR_PPR_DELID:          "{0}:删除错误,标识符不在XML标记中",
-    /** @constant */
-    ERR_PPR_UNKNOWNCID:     "{0}:不明的HTML组件标识符:{1}",
-
-    /** @constant */
-    ERR_NO_VIEWROOTATTR:    "{0}:不支援改变ViewRoot属性",
-    /** @constant */
-    ERR_NO_HEADATTR:        "{0}:不支援改变Head的属性",
-    /** @constant */
-    ERR_RED_URL:            "{0}:没有重导向网址",
-
-    /** @constant */
-    ERR_REQ_FAILED_UNKNOWN: "请求失败,状态不明",
-
-    /** @constant */
-    ERR_REQU_FAILED: "请求失败,状态是 {0} 和原因是 {1}",
-
-    /** @constant */
-    UNKNOWN: "不明"
-});
+    /**
+     * System messages Simplified Chinese version
+     *
+     * @class
+     * @name Messages_zh_CN
+     * @extends myfaces._impl.i18n.Messages
+     * @memberOf myfaces._impl.i18n
+     */
+    _MF_CLS && _MF_CLS(_PFX_I18N+"Messages_zh_CN", myfaces._impl.i18n.Messages,
+    /** @lends myfaces._impl.i18n.Messages_zh_CN.prototype */
+    {
+
+        MSG_TEST:               "测试信息",
+
+        /*Messages*/
+        /** @constant */
+        MSG_DEV_MODE:           "请注意,此信息只在项目发展阶段,及没有注册错误监听器而发放。",
+        /** @constant */
+        MSG_AFFECTED_CLASS:     "受影响类别:",
+        /** @constant */
+        MSG_AFFECTED_METHOD:    "受影响方法:",
+        /** @constant */
+        MSG_ERROR_NAME:         "错误名称:",
+        /** @constant */
+        MSG_ERROR_MESSAGE:      "错误信息:",
+        /** @constant */
+        MSG_ERROR_DESC:         "错误说明:",
+        /** @constant */
+        MSG_ERROR_NO:           "错误号码:",
+        /** @constant */
+        MSG_ERROR_LINENO:       "错误行号:",
+
+        /*Errors and messages*/
+        /** @constant */
+        ERR_FORM:               "不能判定源表单,要么没有连接元件到表单,要么有多个相同标识符或名称的表单,AJAX处理停止运作",
+        /** @constant */
+        ERR_VIEWSTATE:          "jsf.viewState:参数值不是表单类型!",
+        /** @constant */
+        ERR_TRANSPORT:          "不存在{0}传输类型",
+        /** @constant */
+        ERR_EVT_PASS:           "必须放弃事件(可能事件物件为空或未定义)",
+        /** @constant */
+        ERR_CONSTRUCT:          "构建事件数据时部分回应不能取得,原因是:{0}",
+        /** @constant */
+        ERR_MALFORMEDXML:       "无法解析服务器的回应,服务器返回的回应不是XML!",
+        /** @constant */
+        ERR_SOURCE_FUNC:        "来源不能是一个函数(可能来源和事件没有定义或设定为空)",
+        /** @constant */
+        ERR_EV_OR_UNKNOWN:      "事件物件或不明必须作为第二个参数传递",
+        /** @constant */
+        ERR_SOURCE_NOSTR:       "来源不能是字串",
+        /** @constant */
+        ERR_SOURCE_DEF_NULL:    "来源必须定义或为空",
+
+        //_Lang.js
+        /** @constant */
+        ERR_MUST_STRING:        "{0}:{1} 名称空间必须是字串类型",
+        /** @constant */
+        ERR_REF_OR_ID:          "{0}:{1} 必须提供参考节点或标识符",
+        /** @constant */
+        ERR_PARAM_GENERIC:      "{0}:{1} 参数必须是 {2} 类型",
+        /** @constant */
+        ERR_PARAM_STR:          "{0}:{1} 参数必须是字串类型",
+        /** @constant */
+        ERR_PARAM_STR_RE:       "{0}:{1} 参数必须是字串类型或正规表达式",
+        /** @constant */
+        ERR_PARAM_MIXMAPS:      "{0}:必须提供来源及目标映射",
+        /** @constant */
+        ERR_MUST_BE_PROVIDED:   "{0}:必须提供 {1} 及 {2}",
+        /** @constant */
+        ERR_MUST_BE_PROVIDED1:  "{0}:必须设定 {1}",
+
+        /** @constant */
+        ERR_REPLACE_EL:         "调用replaceElements函数时evalNodes变量不是阵列类型",
+
+        /** @constant */
+        ERR_EMPTY_RESPONSE:     "{0}:回应不能为空的!",
+        /** @constant */
+        ERR_ITEM_ID_NOTFOUND:   "{0}:找不到有 {1} 标识符的项目",
+        /** @constant */
+        ERR_PPR_IDREQ:          "{0}:局部页面渲染嵌入错误,标识符必须存在",
+        /** @constant */
+        ERR_PPR_INSERTBEFID:    "{0}:局部页面渲染嵌入错误,前或后标识符必须存在",
+        /** @constant */
+        ERR_PPR_INSERTBEFID_1:  "{0}:局部页面渲染嵌入错误,前节点的标识符 {1} 不在文件内",
+        /** @constant */
+        ERR_PPR_INSERTBEFID_2:  "{0}:局部页面渲染嵌入错误,后节点的标识符 {1} 不在文件内",
+
+        /** @constant */
+        ERR_PPR_DELID:          "{0}:删除错误,标识符不在XML标记中",
+        /** @constant */
+        ERR_PPR_UNKNOWNCID:     "{0}:不明的HTML组件标识符:{1}",
+
+        /** @constant */
+        ERR_NO_VIEWROOTATTR:    "{0}:不支援改变ViewRoot属性",
+        /** @constant */
+        ERR_NO_HEADATTR:        "{0}:不支援改变Head的属性",
+        /** @constant */
+        ERR_RED_URL:            "{0}:没有重导向网址",
+
+        /** @constant */
+        ERR_REQ_FAILED_UNKNOWN: "请求失败,状态不明",
+
+        /** @constant */
+        ERR_REQU_FAILED: "请求失败,状态是 {0} 和原因是 {1}",
+
+        /** @constant */
+        UNKNOWN: "不明"
+    });
+