[Chameleon] where are the widget definitions?

Julien-Samuel Lacroix jlacroix at mapgears.com
Mon Mar 13 13:53:41 EST 2006


Hi,
In your index.phtml file, you are supposed to specify the custom widget 
directory path in the CWCExecute function. Is this path point to the 
right place?

Julien

Sears, Jeremy wrote:
> Hi All,
> 
> Ive been using a custom widget sucessfully for a wile. I have recently
> changed the directory structure of my ms4w/chameleon application and now my
> widget doesnt work. When I load the map that is associated with the widget I
> get a popup error window and my <cwc> code instead of the widget's button. I
> get two errors in the pop up, they are as follows:
> 
>     * C:\ms4w\apps\chameleon\htdocs\widgets
>     * ERROR: Widget Definition for class 'pdfMap' not found (tag is ....
> <cwc2>....)
> 
> One major issue with the error msg is that my widgets are no longer in
> "C:\ms4w\apps\chameleon\htdocs\widgets", that directory should be more
> like"X:\server\share\ms4w\apps\chameleon\htdocs\widgets". When I search the
> files in chameleon's application directory for the text "C:\ms4w.." No
> results are returned. (I ve already changed the references from /ms4w to
> /server/share/ms4w). Can anyone tell me why chameleon is looking at
> "c:\ms4w\apps\chameleon\htdocs\widgets"? and where I can change this? From
> the second error note, Im assuming I must edit the widget definition, where
> can I find these?
> 
> Thanks
> Jeremy
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon

-- 
Julien-Samuel Lacroix
Mapgears
http://www.mapgears.com/


More information about the Chameleon mailing list