Commit 2ec71581 authored by Derek DeMoro's avatar Derek DeMoro Committed by derek

Datasource information should be stored in messenger_home.


git-svn-id: http://svn.igniterealtime.org/svn/repos/messenger/trunk@98 b35dd754-fafc-0310-a699-88a17e54d16e
parent d7b6d92a
...@@ -106,14 +106,7 @@ ...@@ -106,14 +106,7 @@
// No errors setting the properties, so test the connection // No errors setting the properties, so test the connection
DbConnectionManager.setConnectionProvider(conProvider); DbConnectionManager.setConnectionProvider(conProvider);
if (testConnection(errors)) { if (testConnection(errors)) {
// update the sidebar status // Update with XMPPSettings
session.setAttribute("jive.setup.sidebar.3","done");
session.setAttribute("jive.setup.sidebar.4","in_progress");
// success, move on
response.sendRedirect("setup-admin-settings.jsp");
return;
}
else{
Map xmppSettings = (Map)session.getAttribute("xmppSettings"); Map xmppSettings = (Map)session.getAttribute("xmppSettings");
Iterator iter = xmppSettings.keySet().iterator(); Iterator iter = xmppSettings.keySet().iterator();
while(iter.hasNext()){ while(iter.hasNext()){
...@@ -122,6 +115,13 @@ ...@@ -122,6 +115,13 @@
JiveGlobals.setProperty(name, value); JiveGlobals.setProperty(name, value);
} }
// update the sidebar status
session.setAttribute("jive.setup.sidebar.3","done");
session.setAttribute("jive.setup.sidebar.4","in_progress");
// success, move on
response.sendRedirect("setup-admin-settings.jsp");
return;
} }
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment