[Chameleon-dev] [Bug 126] New: [Chameleon]MapWshowLayer function not defined when using JAPI
Fri, 14 Nov 2003 17:42:39 -0500

           Summary: [Chameleon]MapWshowLayer function not defined when using
           Product: Chameleon
           Version: 1.1
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core

MapWshowLayer function not defined when using JAPI

I using the JavaScript API testing framework developed by Assefa and Bill.  I
migrated the CWC2 version to Chameleon 1.1  The testing framework is into the
cvs under "chameleon/test_suite/js_testing/predefined_tests".

I'm using the chameleon demo in which I modified the "index.phtml" file to be
able to take a map file and a template as argument.  There is a copy of this
"index.phtml" file into the cvs under

I added two lines into the "sample.html" to load the JavaScript API. I got the
JSAPI testing framework accessible through the web by creating a symbolic link.

Steps to reproduce:

1. Access the "main.phtml" file into the browser.
2. Set the application path to   
3. Set the template path to /path/to/chameleon_sample/htdocs/sample.html
4. Set the map file path to /path/to/chameleon_sample/map/
5. Select the "layerSetStatus" predefined test
6. Click on "execute"
7. The error appears into the JavaScript console.

I'm working on Redhat 7.2, chameleon-1.1_20031110 from the cvs, MapServer 4.0

Here is the JavaScript consol error message:

Error: MapWshowLayer is not defined
Source File:
Line: 3105

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

This archive was generated by Pipermail.