[Carbon-commits] [Carbon] svn commit r67548 - in branches/carbon/3.0.0/components/bam/org.wso2.carbon.bam.mgt.ui/3.0.0/src/main/resources: org/wso2/carbon/bam/mgt/ui/i18n web/bam-server-config

rathav at wso2.com rathav at wso2.com
Thu Jun 3 10:27:20 PDT 2010


Author: rathav
Date: Thu Jun  3 10:27:20 2010
New Revision: 67548
URL: http://wso2.org/svn/browse/wso2?view=rev&revision=67548

Log:
fixing https://wso2.org/jira/browse/BAM-20

Modified:
   branches/carbon/3.0.0/components/bam/org.wso2.carbon.bam.mgt.ui/3.0.0/src/main/resources/org/wso2/carbon/bam/mgt/ui/i18n/Resources.properties
   branches/carbon/3.0.0/components/bam/org.wso2.carbon.bam.mgt.ui/3.0.0/src/main/resources/web/bam-server-config/bam_configuration.jsp

Modified: branches/carbon/3.0.0/components/bam/org.wso2.carbon.bam.mgt.ui/3.0.0/src/main/resources/org/wso2/carbon/bam/mgt/ui/i18n/Resources.properties
URL: http://wso2.org/svn/browse/wso2/branches/carbon/3.0.0/components/bam/org.wso2.carbon.bam.mgt.ui/3.0.0/src/main/resources/org/wso2/carbon/bam/mgt/ui/i18n/Resources.properties?rev=67548&r1=67547&r2=67548&view=diff
==============================================================================
--- branches/carbon/3.0.0/components/bam/org.wso2.carbon.bam.mgt.ui/3.0.0/src/main/resources/org/wso2/carbon/bam/mgt/ui/i18n/Resources.properties	(original)
+++ branches/carbon/3.0.0/components/bam/org.wso2.carbon.bam.mgt.ui/3.0.0/src/main/resources/org/wso2/carbon/bam/mgt/ui/i18n/Resources.properties	Thu Jun  3 10:27:20 2010
@@ -98,4 +98,5 @@
 fault.count=Fault Count
 add.server=Add Server
 server.list=Server List
-polling.interval=Polling Interval (seconds)
\ No newline at end of file
+polling.interval=Polling Interval (seconds)
+data.retention.period.successfully.updated=Data retention period updated successfully.
\ No newline at end of file

Modified: branches/carbon/3.0.0/components/bam/org.wso2.carbon.bam.mgt.ui/3.0.0/src/main/resources/web/bam-server-config/bam_configuration.jsp
URL: http://wso2.org/svn/browse/wso2/branches/carbon/3.0.0/components/bam/org.wso2.carbon.bam.mgt.ui/3.0.0/src/main/resources/web/bam-server-config/bam_configuration.jsp?rev=67548&r1=67547&r2=67548&view=diff
==============================================================================
--- branches/carbon/3.0.0/components/bam/org.wso2.carbon.bam.mgt.ui/3.0.0/src/main/resources/web/bam-server-config/bam_configuration.jsp	(original)
+++ branches/carbon/3.0.0/components/bam/org.wso2.carbon.bam.mgt.ui/3.0.0/src/main/resources/web/bam-server-config/bam_configuration.jsp	Thu Jun  3 10:27:20 2010
@@ -31,7 +31,10 @@
 <script type="text/javascript" src="../carbon/admin/js/main.js"></script>
 
 <!--link media="all" type="text/css" rel="stylesheet" href="css/registration.css"/-->
-
+<fmt:bundle basename="org.wso2.carbon.bam.mgt.ui.i18n.Resources">
+    <carbon:breadcrumb label="bam.server.configuration"
+                       resourceBundle="org.wso2.carbon.bam.mgt.ui.i18n.Resources"
+                       topPage="false" request="<%=request%>"/>
 <%
     String retentionPeriod = "";
     if (request.getParameter(ACTION_SUBMIT) != null) {
@@ -51,10 +54,19 @@
             session.setAttribute(CarbonUIMessage.ID, uiMsg);
 %>
 <jsp:include page="../admin/error.jsp?<%=e.getMessage()%>" />
-<%
+		<%
             return;
+        }%>
+        <script type="text/javascript">
+    	jQuery(document).init(function() {
+        function handleOK() {
+            window.location = 'bam_configuration.jsp?region=region1&item=bam_server_configuration';
         }
-    }
+        CARBON.showInfoDialog("<fmt:message key="data.retention.period.successfully.updated"/>", handleOK);
+   		 });
+		</script>
+        
+   <% }
 
     String serverURL = CarbonUIUtil.getServerURL(config.getServletContext(), session);
 
@@ -69,12 +81,6 @@
 
 %>
 
-<fmt:bundle basename="org.wso2.carbon.bam.mgt.ui.i18n.Resources">
-    <carbon:breadcrumb label="bam.server.configuration"
-                       resourceBundle="org.wso2.carbon.bam.mgt.ui.i18n.Resources"
-                       topPage="false" request="<%=request%>"/>
-
-
     <script type="text/javascript">
         function validate() {
             value = document.getElementsByName("<%=DATA_RETENTION_PERIOD%>")[0].value;



More information about the Carbon-commits mailing list