[Cartoweb-users] Different versions of CW and Layers Plugin

Mathieu Coudert m.coudert at oieau.fr
Wed Jul 26 10:56:52 EDT 2006


Thanks Damien,

 

Are you sure that there’s nothing else to do? Because I still have the same
problem
.the parameter layers don’t appear in the variable $request


So I try to checkout the CVS and I move my last project on
but the result is
the same
.no layers added! :-(

Can you tell me more explicitly please where the layers parameter is
transmitted between the pop-up where the layer is choosen and the
ClienLayers.php of the coreplugin Layers?



I tried to print some print_r or some alert in the php and the javascript,
but I don’t manage to find the way a layer is transmitted when it is
selected. I know that there is a parameter selected which is set to 1 when
the layer is selected but “where does it do”?  

 

Any help would be greatly appreciated


 

Thanks

 

Mathieu 

  _____  

De : Damien Corpataux [mailto:damien.corpataux at camptocamp.com] 
Envoyé : mercredi 26 juillet 2006 15:42
À : Mathieu Coudert; cartoweb-users at lists.maptools.org
Objet : Re: [Cartoweb-users] Different versions of CW and Layers Plugin

 

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  <http://www.mailscanner.info/> MailScanner
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  <http://www.mailscanner.info/> MailScanner
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
  

 


-- 
Ce message a ete verifie par  <http://www.mailscanner.info/> MailScanner
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. 

-- 
Ce message a ete verifie par MailScanner 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 prives. Toute publication, utilisation ou diffusion, meme partielle, doit etre autorisee.

Any data and information contained in this electronic mail is personal, confidential and secret. Any total or partial publication, use or distribution must be authorized.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20060726/706afd41/attachment-0001.html


More information about the Cartoweb-users mailing list