Module: nagvis
Branch: master
Commit: 057637708c45e4ab20718543e0f9d80b80fb62f5
URL:    
http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/commit/?id=057637708c45e4ab20718543e0f9d80b80fb62f5

Author: Roman Kyrylych <[email protected]>
Date:   Wed Aug 19 14:12:45 2009 +0300

gmap: Updated remote object names on client side to match server side

Signed-off-by: Roman Kyrylych <[email protected]>

---

 uifx/src/modules/gmap/mate/GeneralEM.mxml    |    4 ++--
 uifx/src/modules/gmap/mate/LinksEM.mxml      |    2 +-
 uifx/src/modules/gmap/mate/LocationsEM.mxml  |    2 +-
 uifx/src/modules/gmap/mate/NagiosEM.mxml     |    2 +-
 uifx/src/modules/gmap/mate/StartupEM.mxml    |    8 ++++----
 uifx/src/modules/gmap/mate/ViewpointsEM.mxml |    2 +-
 6 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/uifx/src/modules/gmap/mate/GeneralEM.mxml 
b/uifx/src/modules/gmap/mate/GeneralEM.mxml
index 76a22ea..890c9f9 100644
--- a/uifx/src/modules/gmap/mate/GeneralEM.mxml
+++ b/uifx/src/modules/gmap/mate/GeneralEM.mxml
@@ -49,7 +49,7 @@
        </EventHandlers>
 
        <EventHandlers type="{SettingsEvent.CHANGE}">
-               <RemoteObjectInvoker destination="zend" source="Settings" 
method="save" arguments="{event.settings}">
+               <RemoteObjectInvoker destination="zend" 
source="SettingsService" method="save" arguments="{event.settings}">
                        <resultHandlers>
                                <DataCopier destination="{SettingsData}" 
destinationKey="settings" source="{resultObject}"/>
                        </resultHandlers>
@@ -57,7 +57,7 @@
        </EventHandlers>
 
        <EventHandlers type="{SettingsEvent.RELOAD}">
-               <RemoteObjectInvoker destination="zend" source="Settings" 
method="save" arguments="{event.settings}">
+               <RemoteObjectInvoker destination="zend" 
source="SettingsService" method="save" arguments="{event.settings}">
                        <resultHandlers>
                                <InlineInvoker method="ExternalInterface.call" 
arguments="window.location.reload"/>
                        </resultHandlers>
diff --git a/uifx/src/modules/gmap/mate/LinksEM.mxml 
b/uifx/src/modules/gmap/mate/LinksEM.mxml
index c788ba8..f11795e 100644
--- a/uifx/src/modules/gmap/mate/LinksEM.mxml
+++ b/uifx/src/modules/gmap/mate/LinksEM.mxml
@@ -32,7 +32,7 @@
                ]]>
        </mx:Script>
 
-       <mx:RemoteObject id="LinksService" destination="zend" source="Link" />
+       <mx:RemoteObject id="LinksService" destination="zend" 
source="LinkService" />
 
        <EventHandlers type="{LinkEvent.SELECTED}">
                <MethodInvoker generator="{CurrentLink}" method="update" 
arguments="{event.link}"/>
diff --git a/uifx/src/modules/gmap/mate/LocationsEM.mxml 
b/uifx/src/modules/gmap/mate/LocationsEM.mxml
index 5170adb..9aca113 100644
--- a/uifx/src/modules/gmap/mate/LocationsEM.mxml
+++ b/uifx/src/modules/gmap/mate/LocationsEM.mxml
@@ -38,7 +38,7 @@
                ]]>
        </mx:Script>
 
-       <mx:RemoteObject id="LocationsService" destination="zend" 
source="Location" />
+       <mx:RemoteObject id="LocationsService" destination="zend" 
source="LocationService" />
 
        <EventHandlers type="{LocationEvent.SELECTED}">
                <MethodInvoker generator="{CurrentLocation}" method="update" 
arguments="{event.location}"/>
diff --git a/uifx/src/modules/gmap/mate/NagiosEM.mxml 
b/uifx/src/modules/gmap/mate/NagiosEM.mxml
index 6fdaecb..a9326ac 100644
--- a/uifx/src/modules/gmap/mate/NagiosEM.mxml
+++ b/uifx/src/modules/gmap/mate/NagiosEM.mxml
@@ -34,7 +34,7 @@
                ]]>
        </mx:Script>
 
-       <mx:RemoteObject id="NagiosService" destination="zend" 
source="Database"/>
+       <mx:RemoteObject id="NagiosService" destination="zend" 
source="NagiosService"/>
 
        <EventHandlers type="{NagiosObjectEvent.NEED_ALL_HOSTS}">
                <DataCopier destination="data" destinationKey="count" 
source="{HostsData}" sourceKey="length"/>
diff --git a/uifx/src/modules/gmap/mate/StartupEM.mxml 
b/uifx/src/modules/gmap/mate/StartupEM.mxml
index 827d1a3..858d3d7 100644
--- a/uifx/src/modules/gmap/mate/StartupEM.mxml
+++ b/uifx/src/modules/gmap/mate/StartupEM.mxml
@@ -44,16 +44,16 @@
 
                <ObjectBuilder generator="{Poller}" 
constructorArguments="{scope.dispatcher}"/>
 
-               <RemoteObjectInvoker destination="zend" source="Viewpoint" 
method="getAll" debug="true">
+               <RemoteObjectInvoker destination="zend" 
source="ViewpointService" method="getAll" debug="true">
                        <resultHandlers>
                                <MethodInvoker generator="{ViewpointsData}" 
method="fill" arguments="{resultObject}"/>
                        </resultHandlers>
                </RemoteObjectInvoker>
-               <RemoteObjectInvoker destination="zend" source="Location" 
method="getAll" debug="true">
+               <RemoteObjectInvoker destination="zend" 
source="LocationService" method="getAll" debug="true">
                        <resultHandlers>
                                <MethodInvoker generator="{LocationsData}" 
method="fill" arguments="{resultObject}"/>
                                <MethodInvoker generator="{Poller}" 
method="resourceReady"/>
-                               <RemoteObjectInvoker destination="zend" 
source="Link" method="getAll" debug="true">
+                               <RemoteObjectInvoker destination="zend" 
source="LinkService" method="getAll" debug="true">
                                        <resultHandlers>
                                                <DataCopier destination="data" 
destinationKey="locations" source="{LocationsData}"/>
                                                <MethodInvoker 
generator="{LinksData}" method="fill" arguments="{[resultObject, 
data.locations]}"/>
@@ -65,7 +65,7 @@
 
        <Injectors target="{MapMD}" debug="true">
 
-               <RemoteObjectInvoker destination="zend" source="Settings" 
method="load">
+               <RemoteObjectInvoker destination="zend" 
source="SettingsService" method="load">
                        <resultHandlers>
                                <DataCopier destination="{SettingsData}" 
destinationKey="settings" source="{resultObject}"/>
                                <MethodInvoker generator="{MapMD}" 
method="showMap" arguments="{resultObject.googleMapsKey}"/>
diff --git a/uifx/src/modules/gmap/mate/ViewpointsEM.mxml 
b/uifx/src/modules/gmap/mate/ViewpointsEM.mxml
index 65e75b5..9de51a3 100644
--- a/uifx/src/modules/gmap/mate/ViewpointsEM.mxml
+++ b/uifx/src/modules/gmap/mate/ViewpointsEM.mxml
@@ -29,7 +29,7 @@
                ]]>
        </mx:Script>
 
-       <mx:RemoteObject id="ViewpointsService" destination="zend" 
source="Viewpoint" />
+       <mx:RemoteObject id="ViewpointsService" destination="zend" 
source="ViewpointService" />
 
        <EventHandlers type="{ViewpointEvent.SELECTED}">
                <MethodInvoker generator="{MapMD}" method="focusViewpoint" 
arguments="{event.viewpoint}"/>


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Nagvis-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nagvis-checkins

Reply via email to