[mapguide-internals] MapGuide RFC 36 -
Jason.Birch at nanaimo.ca
Mon Sep 17 14:35:08 EDT 2007
Would it be a lot of work or performance penalty to change this so that
if there are no children in the leaf folders you return a 0? This would
allow for different display of empty folders, and would also allow the
UI to prevent an additional EnumerateResources fetch on the empty folder
when/if it's selected by the user.
From: mapguide-internals-bounces at lists.osgeo.org
[mailto:mapguide-internals-bounces at lists.osgeo.org] On Behalf Of Steve
Sent: Monday, September 17, 2007 11:22
To: MapGuide Internals Mail List
Subject: RE: [mapguide-internals] MapGuide RFC 36 -
Yes, the EnumerateResources API does return the computed number of
folders and documents for all folders, except for the leaf level
folders, these numbers will be set to -1 when the "computeChildren" flag
is false. It's up the client to choose how to display the folders based
on these numbers.
This API does not affect any other API.
More information about the mapguide-internals