English (en-ca) 2004-12-18 $id: $ Doc_Builder DM Solutions Group Inc. chameleon@lists.maptools.org Christopher R. Thorne DM Solutions Group Inc. chameleon@lists.maptools.org uploadcontext TBD TBD 1.99 1999-12-31 BETA Paul Spencer DM Solutions Group Inc. chameleon@lists.maptools.org The ContextUpload widget allows the user to upload a Context file from their local hard drive or from a URL to the current application. This widget does not limit the user from attempting to upload contexts if the CWC2 service instance is configured not to allow it. The user will receive an error message after this widget attempts to upload the context. This button provides the capability to load a Map Context document to the application. A Map Context document describes the layers that make up a map. To use it, click the Open Context button to open the Open Context dialog. In the Open Context dialog, specify a URL to a context document or click the Browse button to browse the local harddrive for a context document to upload. Click OK to load and display the context. ALLOWRESIZE ="[boolean]" Hawaii Demo http://www.mapsherpa.com/hawaii2/ The Hawaii Demo uses the latest 1.99 Chameleon version. base button popup ALLOWRESIZE boolean Widget Only true false XML Child Element to Chameleon widget tag (subtag) Widget & Shared Resource float Widget & Shared Resource clickUploadContext Private unknown Describe the JS functions (if any) that define or rather trigger events through the Chameleon JSAPI. OpenContextCB Private callback function for the Open Context dialog actionID string wh string unknown Describe the JS functions (if any) that define or rather trigger events through the Chameleon JSAPI. string Private Private string false unknown JSAPI function calls for this widget are outlined here. string false PHP Mapscript none Error message string.... The description of what the message means...... Any possible solution that will help application developers troubleshoot and fix the problem.