myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From we...@apache.org
Subject svn commit: r1414749 - /myfaces/core/branches/2.2.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js
Date Wed, 28 Nov 2012 15:17:19 GMT
Author: werpu
Date: Wed Nov 28 15:17:17 2012
New Revision: 1414749

URL: http://svn.apache.org/viewvc?rev=1414749&view=rev
Log:
fixing the message handling for the jsf 2.2 exception thrown whenever we have a faulty multipart
form scenario

Modified:
    myfaces/core/branches/2.2.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js

Modified: myfaces/core/branches/2.2.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js
URL: http://svn.apache.org/viewvc/myfaces/core/branches/2.2.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js?rev=1414749&r1=1414748&r2=1414749&view=diff
==============================================================================
--- myfaces/core/branches/2.2.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js
(original)
+++ myfaces/core/branches/2.2.x/api/src/main/javascript/META-INF/resources/myfaces/_impl/core/Impl.js
Wed Nov 28 15:17:17 2012
@@ -355,7 +355,7 @@ _MF_SINGLTN(_PFX_CORE + "Impl", _MF_OBJE
         //spec section jsdoc, if we have a multipart candidate in our execute (aka fileupload)
         //and the form is not multipart then we have to raise an error
         if(multiPartCandidate && ! multipartForm) {
-            throw _Lang.makeException(new Error(), null, null, this._nameSpace, "_getForm",
"No multipart form");
+            throw _Lang.makeException(new Error(), null, null, this._nameSpace, "_getTransportType",
 _Lang.getMessage("ERR_NO_MULTIPART_FORM", "No Multipart form", form.id));
         }
         var isMultipart = multiPartCandidate && multipartForm;
         /**



Mime
View raw message