1 /* Licensed to the Apache Software Foundation (ASF) under one or more 2 * contributor license agreements. See the NOTICE file distributed with 3 * this work for additional information regarding copyright ownership. 4 * The ASF licenses this file to you under the Apache License, Version 2.0 5 * (the "License"); you may not use this file except in compliance with 6 * the License. You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 /** 18 * @memberOf myfaces._impl 19 * @namespace 20 * @name i18n 21 */ 22 23 /** 24 * System messages base version <p /> 25 * (note the base version is basically the en_US) version 26 * of all messages 27 * 28 * @class 29 * @name Messages 30 * @memberOf myfaces._impl.i18n 31 */ 32 _MF_CLS && _MF_CLS(_PFX_I18N+"Messages", Object, 33 /** 34 * @lends myfaces._impl.i18n.Messages.prototype 35 */ 36 { 37 38 MSG_TEST: "Testmessage", 39 40 /*Messages*/ 41 /** @constant */ 42 MSG_DEV_MODE: "Note, this message is only sent, because project stage is development and no " + 43 "other error listeners are registered.", 44 /** @constant */ 45 MSG_AFFECTED_CLASS: "Affected Class:", 46 /** @constant */ 47 MSG_AFFECTED_METHOD: "Affected Method:", 48 /** @constant */ 49 MSG_ERROR_NAME: "Error Name:", 50 /** @constant */ 51 MSG_ERROR_MESSAGE: "Error Name:", 52 /** @constant */ 53 MSG_ERROR_DESC: "Error Description:", 54 /** @constant */ 55 MSG_ERROR_NO: "Error Number:", 56 /** @constant */ 57 MSG_ERROR_LINENO: "Error Line Number:", 58 59 /*Errors and messages*/ 60 /** @constant */ 61 ERR_FORM: "Sourceform could not be determined, either because element is not attached to a form or we have multiple forms with named elements of the same identifier or name, stopping the ajax processing", 62 /** @constant */ 63 ERR_VIEWSTATE: "jsf.viewState: param value not of type form!", 64 /** @constant */ 65 ERR_TRANSPORT: "Transport type {0} does not exist", 66 /** @constant */ 67 ERR_EVT_PASS: "an event must be passed down (either a an event object null or undefined) ", 68 /** @constant */ 69 ERR_CONSTRUCT: "Parts of the response couldn't be retrieved when constructing the event data: {0} ", 70 /** @constant */ 71 ERR_MALFORMEDXML: "The server response could not be parsed, the server has returned with a response which is not xml !", 72 /** @constant */ 73 ERR_SOURCE_FUNC: "source cannot be a function (probably source and event were not defined or set to null", 74 /** @constant */ 75 ERR_EV_OR_UNKNOWN: "An event object or unknown must be passed as second parameter", 76 /** @constant */ 77 ERR_SOURCE_NOSTR: "source cannot be a string", 78 /** @constant */ 79 ERR_SOURCE_DEF_NULL: "source must be defined or null", 80 81 //_Lang.js 82 /** @constant */ 83 ERR_MUST_STRING: "{0}: {1} namespace must be of type String", 84 /** @constant */ 85 ERR_REF_OR_ID: "{0}: {1} a reference node or identifier must be provided", 86 /** @constant */ 87 ERR_PARAM_GENERIC: "{0}: parameter {1} must be of type {2}", 88 /** @constant */ 89 ERR_PARAM_STR: "{0}: {1} param must be of type string", 90 /** @constant */ 91 ERR_PARAM_STR_RE: "{0}: {1} param must be of type string or a regular expression", 92 /** @constant */ 93 ERR_PARAM_MIXMAPS: "{0}: both a source as well as a destination map must be provided", 94 /** @constant */ 95 ERR_MUST_BE_PROVIDED: "{0}: an {1} and a {2} must be provided", 96 /** @constant */ 97 ERR_MUST_BE_PROVIDED1: "{0}: {1} must be set", 98 99 /** @constant */ 100 ERR_REPLACE_EL: "replaceElements called while evalNodes is not an array", 101 102 /** @constant */ 103 ERR_EMPTY_RESPONSE: "{0}: The response cannot be null or empty!", 104 /** @constant */ 105 ERR_ITEM_ID_NOTFOUND: "{0}: item with identifier {1} could not be found", 106 /** @constant */ 107 ERR_PPR_IDREQ: "{0}: Error in PPR Insert, id must be present", 108 /** @constant */ 109 ERR_PPR_INSERTBEFID: "{0}: Error in PPR Insert, before id or after id must be present", 110 /** @constant */ 111 ERR_PPR_INSERTBEFID_1: "{0}: Error in PPR Insert, before node of id {1} does not exist in document", 112 /** @constant */ 113 ERR_PPR_INSERTBEFID_2: "{0}: Error in PPR Insert, after node of id {1} does not exist in document", 114 115 /** @constant */ 116 ERR_PPR_DELID: "{0}: Error in delete, id not in xml markup", 117 /** @constant */ 118 ERR_PPR_UNKNOWNCID: "{0}: Unknown Html-Component-ID: {1}", 119 120 /** @constant */ 121 ERR_NO_VIEWROOTATTR: "{0}: Changing of ViewRoot attributes is not supported", 122 /** @constant */ 123 ERR_NO_HEADATTR: "{0}: Changing of Head attributes is not supported", 124 /** @constant */ 125 ERR_RED_URL: "{0}: Redirect without url", 126 127 /** @constant */ 128 ERR_REQ_FAILED_UNKNOWN: "Request failed with unknown status", 129 130 /** @constant */ 131 ERR_REQU_FAILED: "Request failed with status {0} and reason {1}", 132 133 /** @constant */ 134 UNKNOWN: "UNKNOWN" 135 }); 136 137