Topic Text   Topic Comments (0)   Topic Properties   Topic Information test@tes...
Topic title: test Wednesday April 21, 2010 15:11:01

Download topic text | View in variable-width font | Tab width set to 8 (change to 4)

Files in topic: (view all files)  
Fault.AlarmManager/src/com/dhyan/nms/server/fault/alarmmanager/AlarmManager.java  6018   {+130,-0}
Fault.AlarmManager/src/com/dhyan/nms/server/fault/alarmmanager/ejb/AlarmSessionBean.java  6018   {+160,-36}
Fault.AlarmManager/src/com/dhyan/nms/server/fault/alarmmanager/resources/AlarmClassification.xml  0   {+27,-0}
Fault.AlarmManager/src/com/dhyan/nms/server/fault/alarmmanager/resources/AlarmClassification.xsd  0   {+42,-0}
Fault.FaultManager/DVL/dvl-DefaultQueries.xml  6018   {+7,-9}
Fault.Publisher/src/com/dhyan/nms/server/fault/publisher/EmailPublisherImpl.java  6018   {+11,-0}
Perf.DataCollection/src/com/dhyan/nms/server/performance/datacollection/HistoricalProcessImpl.java  6018   {+1,-3}
Perf.DataCollection/src/com/dhyan/nms/server/performance/datacollection/PerformanceTaskCreator.java  6018   {+17,-8}
Perf.DataCollection/src/com/dhyan/nms/server/performance/datacollection/ejb/DataCollectionFacade.java  6018   {+1,-1}
Perf.PerformanceManager/src/com/dhyan/nms/server/performance/ejb/PerformanceFacade.java  6018   {+1,-0}
Web.BaseModule/WebContent/jsp/DNMSIndex.jsp  6018   {+4,-0}
Web.BaseModule/WebContent/jsp/LoadResourceBundle.jsp  6018   {+0,-1}
Web.BaseModule/WebContent/webresource/webcomponents/table/scripts/VerticalTable.js  6018   {+1,-1}
Web.Chart/WebContent/webresource/chart/flex/src/Linechart.mxml  6018   {+8,-5}
Web.ChassisView/WebContent/resources/conf/MultiChassisView.xml  6018   {+3,-3}
Web.ChassisView/WebContent/webresource/chassisview/scripts/ChassisView.js  6018   {+1,-1}
Web.ChassisView/src/com/dhyan/nms/client/webclient/chassisview/struts/resources/MultiChassisView.xsd  6018   {+6,-6}
Web.Fault/WebContent/WEB-INF/properties/AlarmDetailsAction.properties  6018   {+2,-1}
Web.Fault/WebContent/WEB-INF/struts/struts.xml  6018   {+4,-0}
Web.Fault/WebContent/webresource/fault/scripts/DNMSFault.js  6018   {+2,-2}
Web.Fault/WebContent/webresource/fault/scripts/FaultScriptController.js  6018   {+53,-28}
Web.Fault/WebContent/webresource/fault/scripts/FaultTabUtility.js  6018   {+19,-2}
Web.Fault/src/com/dhyan/nms/client/webclient/fault/struts/AlarmDetailsAction.java  6018   {+39,-3}
Web.Performance/WebContent/webresource/dashboard/scripts/DashboardConfigurator.js  6018   {+5,-5}
Web.Security/WebContent/webresource/security/scripts/SecurityUserManager.js  6018   {+1,-1}
Web.Topology/WebContent/WEB-INF/properties/resource.properties  6018   {+1,-1}
Web.Topology/WebContent/WEB-INF/properties/resourcegroup.properties  6018   {+1,-0}
Web.Topology/WebContent/webresource/topology/scripts/ResourceTreeManager.js  6018   {+11,-5}
Web.Topology/WebContent/webresource/topology/scripts/TopologyMapHelper.js  6018   {+8,-1}
dnms/resources/dbspecific/derby/schema/dnms_common.sql  6018   {+1,-1}
dnms/resources/dbspecific/derby/schema/dnms_default_records.sql  6018   {+1,-1}
dnms/resources/dbspecific/mysql/schema/dnms_common.sql  6018   {+1,-1}
dnms/resources/dbspecific/mysql/schema/dnms_default_records.sql  6018   {+1,-1}
dnms/resources/dbspecific/oracle/schema/dnms_common.sql  6018   {+1,-1}
dnms/resources/dbspecific/oracle/schema/dnms_default_records.sql  6018   {+1,-1}

[Add General Comment] to topic.

File Web.Fault/WebContent/webresource/fault/scripts/FaultScriptController.js (Revision 6018) [Add File Comment] [<<] [Top] [>>]
 
Line 589 | Parallel Line 589 | Parallel
589 purgeAlarmsNowCallBack: 589 purgeAlarmsNowCallBack:
590 function() 590 function()
591 { 591 {
592 if (FaultMenuHandler.purgeNowWin == null) 592 var conMessage;
593 var purgeOption=1;
594 if(purgeOption == 1)
593 { 595 {
594 FaultMenuHandler.purgeNowWin = new Window( 596 conMessage = alarmpurgeintervalLocale.getText("alarmPurgeInterval.dialog.message.sureToDeleteAllClearedAlarms")
597 }
598 else
595 { 599 {
596 id: 'purgeAlarmWindow', 600 conMessage = alarmpurgeintervalLocale.getText("alarmPurgeInterval.dialog.message.sureToDeleteAllAlarms");
597 title: alarmpurgeintervalLocale.getText("alarmPurgeInterval.window.title.purgeAlarmsNow"), 601 }
598 width: 390, 602 JSDialog.showConfirmDialog(conMessage,
599 height: 100,
600 left: 350,
601 top: 200,
602 maximizable: false,
603 minimizable: false,
604 iconURL:ImageUtility.getImageURL(DNMSUtility.FAULT) + "purge_now.gif",
605 resizable: false,
606 destroyOnClose: true,
607 hasButton:true,
608 onContentLoad:function()
609 { 603 {
610 var window = Windows.getWindow(this.id); 604 onOk : function()
611 var helpButtonJSON = {id:'alarmPurgeNowHelpButton', title:alarmpurgeintervalLocale.getText("alarmPurgeInterval.button.name.help"), name:'alarmPurgeHelpButton', className:DNMSButton.HELP_BUTTON, handler: null}; 605 {
612 var okButtonJSON = {id:'alarmPurgeNowOkButton', title:alarmpurgeintervalLocale.getText("alarmPurgeInterval.button.name.ok"), name:'alarmPurgeSaveButton', className:DNMSButton.OK_BUTTON, handler: purgeAlarms.bind(this, document.alarmPurgeNowForm)}; 606 new Ajax.Request("/fault/PurgeAlarmsNow.action",
613 var cancelButtonJSON = {id:'alarmPurgeNowCancelButton', title:alarmpurgeintervalLocale.getText("alarmPurgeInterval.button.name.cancel"), name:'alarmPurgeCancelButton', className:DNMSButton.CANCEL_BUTTON, handler: closeAlarmPurge}; 607 {
614 window.addButton(DNMSButton.createButton(helpButtonJSON), "left"); 608 onSuccess: function()
615 window.addButton(DNMSButton.createButton(okButtonJSON), "right"); 609 {
616 window.addButton(DNMSButton.createButton(cancelButtonJSON), "right"); 610 Windows.close('purgeAlarmWindow');
611 AlarmBrowserUtil.alarm_grid['grid'].buffer.refresh();
617 }, 612 },
618 onDestroy: function() 613 postBody:'purgeNowOption=1'
619 { 614 });
620 FaultMenuHandler.purgeNowWin = null
621 } 615 }
622 }); 616 });
623 FaultMenuHandler.purgeNowWin.show(true); 617 // if (FaultMenuHandler.purgeNowWin == null)
624 } 618 // {
625 FaultMenuHandler.purgeNowWin.setURL('/fault/getPurgingOptins.action'); 619 // FaultMenuHandler.purgeNowWin = new Window(
620 // {
621 // id: 'purgeAlarmWindow',
622 // title: alarmpurgeintervalLocale.getText("alarmPurgeInterval.window.title.purgeAlarmsNow"),
623 // width: 390,
624 // height: 100,
625 // left: 350,
626 // top: 200,
627 // maximizable: false,
628 // minimizable: false,
629 // iconURL:ImageUtility.getImageURL(DNMSUtility.FAULT) + "purge_now.gif",
630 // resizable: false,
631 // destroyOnClose: true,
632 // hasButton:true,
633 // onContentLoad:function()
634 // {
635 // var window = Windows.getWindow(this.id);
636 // var helpButtonJSON = {id:'alarmPurgeNowHelpButton', title:alarmpurgeintervalLocale.getText("alarmPurgeInterval.button.name.help"), name:'alarmPurgeHelpButton', className:DNMSButton.HELP_BUTTON, handler: null};
637 // var okButtonJSON = {id:'alarmPurgeNowOkButton', title:alarmpurgeintervalLocale.getText("alarmPurgeInterval.button.name.ok"), name:'alarmPurgeSaveButton', className:DNMSButton.OK_BUTTON, handler: purgeAlarms.bind(this, document.alarmPurgeNowForm)};
638 // var cancelButtonJSON = {id:'alarmPurgeNowCancelButton', title:alarmpurgeintervalLocale.getText("alarmPurgeInterval.button.name.cancel"), name:'alarmPurgeCancelButton', className:DNMSButton.CANCEL_BUTTON, handler: closeAlarmPurge};
639 // window.addButton(DNMSButton.createButton(helpButtonJSON), "left");
640 // window.addButton(DNMSButton.createButton(okButtonJSON), "right");
641 // window.addButton(DNMSButton.createButton(cancelButtonJSON), "right");
642 // },
643 // onDestroy: function()
644 // {
645 // FaultMenuHandler.purgeNowWin = null
646 // }
647 // });
648 // FaultMenuHandler.purgeNowWin.show(true);
649 // }
650 // FaultMenuHandler.purgeNowWin.setURL('/fault/getPurgingOptins.action');
626 }, 651 },
627 652
628 purgeAlarmsNow: 653 purgeAlarmsNow:
 
File Web.Fault/WebContent/webresource/fault/scripts/FaultScriptController.js (Revision 6018) [Add File Comment] [<<] [Top] [>>]
  
Legend:
Removed 
Changed
 Added

[Add General Comment] to topic.