[mapguide-trac] #1843: Only fetch properties if property pane is
visible
MapGuide Open Source
trac_mapguide at osgeo.org
Fri Nov 4 05:41:54 EDT 2011
#1843: Only fetch properties if property pane is visible
--------------------------+-------------------------------------------------
Reporter: gabrimonfa | Owner:
Type: defect | Status: new
Priority: low | Milestone:
Component: General | Version: 2.2.0
Severity: trivial | Keywords:
External_id: |
--------------------------+-------------------------------------------------
Mapguide 2.2
OS: don't care
I've noticed that properties are fetched even if property pane is not
visible (disabling it in webLayout XML).
This is important because under certain conditions property fetch takes a
lot of time
I've also seen changeset
[http://trac.osgeo.org/mapguide/changeset/4138 4138] and
[http://trac.osgeo.org/mapguide/changeset/4139 4139] made by jng but they
do not seem to address properly the case where property pane is disabled
from webLayout.
We do have a variable (isProperties) that holds whether property pane is
enabled or not.
Thus I propose the following enhancement to the IsPropertyCtrlVisible()
function
{{{
function IsPropertyCtrlVisible()
{
+ if (!isProperties) return false;
return GetPropertyCtrl().width > 0;
}
}}}
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1843>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list