incubator-adffaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mat...@apache.org
Subject svn commit: r503589 - /incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Locale.js
Date Mon, 05 Feb 2007 08:43:36 GMT
Author: matzew
Date: Mon Feb  5 00:43:35 2007
New Revision: 503589

URL: http://svn.apache.org/viewvc?view=rev&rev=503589
Log:
using multiple args in TrMessageFactory.createMessage

Modified:
    incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Locale.js

Modified: incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Locale.js
URL: http://svn.apache.org/viewvc/incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Locale.js?view=diff&rev=503589&r1=503588&r2=503589
==============================================================================
--- incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Locale.js
(original)
+++ incubator/adffaces/trunk/trinidad/trinidad-impl/src/main/javascript/META-INF/adf/jsLibs/Locale.js
Mon Feb  5 00:43:35 2007
@@ -911,17 +911,15 @@
 
 TrMessageFactory.createMessage = function(
   key,
-  parameters
+  param1,
+  param2
   )
 {  
   // the strings to create a facesMessage to use have been sent down
   var message = TrMessageFactory.getSummaryString(key);       
   if ( message != null )
   {
-    if ( parameters != null )
-    {
-      message = TrFastMessageFormatUtils.format(message,parameters);
-    }
+    message = TrFastMessageFormatUtils.format(message, param1, param2);
   }
     
   return message;



Mime
View raw message