As quoted from Gertjan van Oosten <[EMAIL PROTECTED]>:
> As quoted from "Steven M. Ottens" <[EMAIL PROTECTED]>:
> > Bug MAP-175 WidgetBase.js incorrectly mentions stylesheet
> > This bug is still valid, GertJan mentions that JSDoc and config.xsd
> > should be updated
>
> I'm picking this one up. There's many a file that incorrect or
> imcomplete JSDoc w.r.t. inheritance/extensions (i.e. missing or wrong
> @base tag) and sometimes even does a loadScript() of the wrong file.
> I'll fix all these as well.
All done. Had to fix the component register because components that
were sub-sub-types (or even deeper) of the subType specified in the
registerConfig were missing. Re-worked ObjectList.xsl to fix that
(added some recursion). Had to introduce an excludeType to keep the
buttons from showing up in the widget list.
Both the JSDocs and the component register are up-to-date again; the
JSDocs now even sport our nice frog at the top. ;-)
Note that there are a few components in the register that have no
description:
- models:
* GeoRSS
* OwsCatResources
* WpsCapabilities
* WpsDescribeProcess
- maps:
* all maps are fully documented %-)
- widgets:
* TabbedContent
- buttons:
* several have the base type documentation "A generic instance of a
ButtonBase object"
- tools:
* EditSLD
* MovieLoop
* Timer
> BTW, does any of the old-timers know why the coding pattern for loading
> the JS file dependencies that is followed in lib/tool/ and lib/widget/
> like so:
>
> // Ensure this object's dependancies are loaded.
> mapbuilder.loadScript(baseDir+"/widget/WidgetBaseXSL.js");
>
> is not at all followed in lib/model/? None of the files (well, except
> one at the moment, Transaction.js) there call:
>
> // Ensure this object's dependancies are loaded.
> mapbuilder.loadScript(baseDir+"/widget/ModelBase.js");
>
> Now I know that ModelBase.js is loaded by Mapbuilder.js, but for
> orthogonality's sake, shouldn't we do it in lib/model/ as well?
I have done that.
Regards,
--
-- Gertjan van Oosten, [EMAIL PROTECTED], West Consulting B.V., +31 15 2191 600
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
mapbuilder-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-devel