[mapguide-trac] #1082: Existing basic web layout should not ping server by default

MapGuide Open Source trac_mapguide at osgeo.org
Wed Sep 2 02:49:25 EDT 2009


#1082: Existing basic web layout should not ping server by default
--------------------------+-------------------------------------------------
 Reporter:  christinebao  |         Owner:  Chris Claydon
     Type:  defect        |        Status:  new          
 Priority:  medium        |     Milestone:  2.2          
Component:  AJAX Viewer   |       Version:  2.0.2        
 Severity:  major         |    Resolution:               
 Keywords:                |   External_id:  1249172      
--------------------------+-------------------------------------------------
Comment (by christinebao):

 Tech diagnosis:

 Basic web layout read from bool MgWebLayout::GetEnablePingServer() to know
 whether or not should ping server. It works for basic web layout created
 since schema change:[[BR]]
 WebLayout-1.1.0.xsd[[BR]]
 {{{
   <xs:element name="WebLayout" type="WebLayoutType"/>
   <xs:complexType name="WebLayoutType">
     <xs:sequence>
       <xs:element name="Title" type="xs:string"/>
       <xs:element name="Map" type="MapType"/>
       <xs:element name="EnablePingServer" type="xs:boolean" minOccurs="0"
 />
       <xs:element name="ToolBar" type="ToolBarType"/>
       <xs:element name="InformationPane" type="InformationPaneType"/>
       <xs:element name="ContextMenu" type="ContextMenuType"/>
       <xs:element name="TaskPane" type="TaskPaneType"/>
       <xs:element name="StatusBar" type="StatusBarType"/>
       <xs:element name="ZoomControl" type="ZoomControlType"/>
       <xs:element name="CommandSet" type="CommandSetType"/>
     </xs:sequence>
   </xs:complexType>
 }}}
 [[BR]]
 The element <EnablePingServer> indicates whether or not the basic web
 layout should ping server. [[BR]]
 However, for the basic web layout created before, there is not such
 <EnablePingServer> element. The default value should be set as false
 instead of true, so the existing basic web layout can keep the same
 behavior as before.

-- 
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/1082#comment:1>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list