[Cartoweb-users] Different versions of CW and Layers Plugin
Damien Corpataux
damien.corpataux at camptocamp.com
Wed Jul 26 09:42:11 EDT 2006
Hello,
updating the /htdocs/js/dhtml*.js from CVS should do the trick. The bug
is due to the introduction of an AJAX layer in the CVS version of CartoWeb.
In fact, updating dhtmlAPI.js only should correct the problem. However,
the dhtml*.js files are coupled together; updating them all is better.
Damien
Mathieu Coudert wrote:
>
> In fact I got a JavaScript error when I select a layer :
>
>
>
> /Erreur : CartoWeb is not defined/
>
> /Fichier source :
> http://dev.sandre.eaufrance.fr/gis/ogcviewer_dev/cartoweb3/htdocs/blank.htm/
>
> /Ligne : 2/
>
>
>
> It comes from /layers.tpl/ in
> /cartoweb3/coreplugins/layers/templates/layers.tpl/ in line 15.
> (/onclick="javascript:updateChecked('{$element.nodeId}');/
>
> / CartoWeb.trigger('Layers.LayerShowHide');/)
>
> So, the layer is not selected and then, the parameter layers in
> $request is empty....
>
>
>
> Any idea about that?
>
>
>
> Thanks
>
>
>
> Mathieu
>
> ------------------------------------------------------------------------
>
> *De :* cartoweb-users-bounces at lists.maptools.org
> [mailto:cartoweb-users-bounces at lists.maptools.org] *De la part de*
> Mathieu Coudert
> *Envoyé :* mercredi 26 juillet 2006 10:34
> *À :* cartoweb-users at lists.maptools.org
> *Objet :* [Cartoweb-users] Different versions of CW and Layers Plugin
>
>
>
> Hi list,
>
>
>
> Still working with two different versions (CVS version and "~3.2.0"
> version like I said in preceding email) I have a problem with Layers
> Plugin.
>
> In the CVS version, when I choose a layer in my tree (list of layers
> displayed in a pop-up) there's nothing in the /request/ var (when I
> try /to print_r ($request)/ the parameter /layers/ is absent, so it is
> empty......the same behaviour for /openNodes/ )
>
>
>
> Any idea?
>
> Do I need to modify something to return my selected layers in the CVS
> version?
>
>
>
> Thanks for your help,
>
>
>
> Mathieu
>
>
> --
> Ce message a ete verifie par *MailScanner*
> <http://www.mailscanner.info/> pour des virus ou des polluriels et
> rien de suspect n'a ete trouve.
>
> Les donnees et renseignements contenus dans ce message sont
> personnels, confidentiels et privis.Toute publication, utilisation ou
> diffusion, meme partielle, doit etre autorisee.
>
> Any data and information contained in this electronic mail is
> personal, confidential and private. Any total or partial publication,
> use or distribution must be authorized.
> --
> Ce message a ete verifie par *MailScanner*
> <http://www.mailscanner.info/> pour des virus ou des polluriels et
> rien de suspect n'a ete trouve.
>
> Les donnees et renseignements contenus dans ce message sont
> personnels, confidentiels et privés.Toute publication, utilisation ou
> diffusion, meme partielle, doit etre autorisee.
>
> Any data and information contained in this electronic mail is
> personal, confidential and private. Any total or partial publication,
> use or distribution must be authorized.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20060726/9c39947d/attachment-0001.html
More information about the Cartoweb-users
mailing list