try the following:

in /incphp/xajax/x_select.php

add after the line
   $hasTemplate = 0;

the following one

   if ($mapLayer->template) $hasTemplate = 1;

and see if it helps. It might still be necessary to add other checks 
that layers are queryable (the right type and having a TEMPLATE tag).

armin

Mauricio Stange H. wrote:
> Hi there,
> 
>             I was using pmapper 1.x.x for a development, but now I 
> upgrade it to 2.1.0. All works fine, except for the select tool. When I 
> use it I capture an error with Firebug that says:
> 
> selform.selgroup has no properties                               
> mapserver.js (line 88)
> 
> zoombox_apply                                                           
> mapserver.js (line 88)
> 
> doMouseUp                                                                
> zoombox.js (line 299)
> 
>  
> 
> I tried to solve it, but my efforts where for nothing.. please help!!
> 
>  
> 
> Thanks..
> 
>  
> 
>             Mauricio
> 
> ** **
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Pmapper-users mailing list
> Pmapper-users at faunalia.it
> http://faunalia.it/cgi-bin/mailman/listinfo/pmapper-users

Reply via email to