details:   https://code.openbravo.com/erp/devel/pi/rev/8e9765fdae56
changeset: 20699:8e9765fdae56
user:      Shankar Balachandran <shankar.balachandran <at> openbravo.com>
date:      Wed Jul 03 17:29:21 2013 +0530
summary:   Related to Issue 0024092 : Set title and message separately.

The success message after Initial Client Setup was successfully contained 
Process Completed Successfully and the reload context message in the same 
message.
Now set Process Completed Successfully as Title and reload context info as 
message.
Updated copyright information.

diffstat:

 
modules/org.openbravo.client.application/src/org/openbravo/client/application/navigationbarcomponents/UserInfoWidgetActionHandler.java
 |  2 +-
 src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.java                   
                                                        |  7 ++++---
 2 files changed, 5 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r 0b9c6c0013da -r 8e9765fdae56 
modules/org.openbravo.client.application/src/org/openbravo/client/application/navigationbarcomponents/UserInfoWidgetActionHandler.java
--- 
a/modules/org.openbravo.client.application/src/org/openbravo/client/application/navigationbarcomponents/UserInfoWidgetActionHandler.java
    Tue Jul 02 18:13:56 2013 +0200
+++ 
b/modules/org.openbravo.client.application/src/org/openbravo/client/application/navigationbarcomponents/UserInfoWidgetActionHandler.java
    Wed Jul 03 17:29:21 2013 +0530
@@ -11,7 +11,7 @@
  * under the License. 
  * The Original Code is Openbravo ERP. 
  * The Initial Developer of the Original Code is Openbravo SLU 
- * All portions are Copyright (C) 2009-2012 Openbravo SLU 
+ * All portions are Copyright (C) 2009-2013 Openbravo SLU 
  * All Rights Reserved. 
  * Contributor(s):  ______________________________________.
  ************************************************************************
diff -r 0b9c6c0013da -r 8e9765fdae56 
src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.java
--- a/src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.java      Tue Jul 
02 18:13:56 2013 +0200
+++ b/src/org/openbravo/erpCommon/ad_forms/InitialClientSetup.java      Wed Jul 
03 17:29:21 2013 +0530
@@ -11,7 +11,7 @@
  * Portions created by Jorg Janke are Copyright (C) 1999-2001 Jorg Janke, parts
  * created by ComPiere are Copyright (C) ComPiere, Inc.;   All Rights Reserved.
  * Contributor(s): Openbravo SLU
- * Contributions are Copyright (C) 2001-2010 Openbravo S.L.U.
+ * Contributions are Copyright (C) 2001-2013 Openbravo S.L.U.
  ******************************************************************************
  */
 package org.openbravo.erpCommon.ad_forms;
@@ -147,9 +147,10 @@
     // In case the client creation is successful, the context has to be 
reloaded to use the created
     // client in user profile widget. Refer 
https://issues.openbravo.com/view.php?id=24092
     if (obeResult.getType().equalsIgnoreCase("success")) {
+      xmlDocument.setParameter("messageTitle",
+          Utility.parseTranslation(this, vars, strLanguage, 
obeResult.getMessage()));
       xmlDocument.setParameter("messageMessage",
-          Utility.parseTranslation(this, vars, strLanguage, 
obeResult.getMessage()) + "<br> "
-              + Utility.parseTranslation(this, vars, strLanguage, 
"@ReloadClientContext@")
+          Utility.parseTranslation(this, vars, strLanguage, 
"@ReloadClientContext@")
               + " <a href='#' 
onclick='window.parent.parent.location.reload();'> Reload </a>");
     } else {
       xmlDocument.setParameter("messageMessage",

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to