<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 9.00.8112.16457"></HEAD>
<BODY>
<DIV><FONT color=#000080 size=2 face=Arial><SPAN class=770223600-12012013>Hi 
all,</SPAN></FONT></DIV>
<DIV><FONT color=#000080 size=2 face=Arial><SPAN 
class=770223600-12012013></SPAN></FONT> </DIV>
<DIV><FONT color=#000080 size=2 face=Arial><SPAN class=770223600-12012013>I am 
working on porting the last pieces of a MB 2.4.3 applciation to MB v 2.7.3. 
The alst thing I need to fix is </SPAN></FONT><FONT color=#000080 size=2 
face=Arial><SPAN class=770223600-12012013>a custom vendorspecific parameter that 
is added to a query layer ( a wms MapServer layer with query string) . The 
exisitng code from my 2.4.3 installation is not working any more. The code below 
gives me the error</SPAN></FONT></DIV>
<DIV><FONT color=#000080 size=2 face=Arial><SPAN class=770223600-12012013>"Can't 
read property wms from undefined "</SPAN></FONT></DIV>
<DIV><FONT color=#000080 size=2 face=Arial><SPAN class=770223600-12012013>in 
line  
mb_registerVendorSpecific("mod_vs_init(mb_mapObj[i].wms[ii].wms_title, 
functionName)");</SPAN></FONT></DIV>
<DIV><FONT color=#000080 size=2 face=Arial><SPAN 
class=770223600-12012013></SPAN></FONT> </DIV>
<DIV><FONT color=#000080 size=2 face=Arial><SPAN class=770223600-12012013>In 
mod_add_vendorspecific.php I have the following:</SPAN></FONT></DIV>
<DIV><FONT color=#000080 size=2 face=Arial><SPAN 
class=770223600-12012013></SPAN></FONT><FONT color=#000080 size=2 
face=Arial><SPAN class=770223600-12012013><SPAN 
class=770223600-12012013>--------------<SPAN 
class=770223600-12012013>--------------<SPAN 
class=770223600-12012013>--------------<SPAN 
class=770223600-12012013>--------------<SPAN 
class=770223600-12012013>--------------<SPAN 
class=770223600-12012013>--------------<SPAN 
class=770223600-12012013>--------------<SPAN 
class=770223600-12012013>--------------</SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></SPAN></FONT></DIV>
<DIV><FONT color=#000080 size=2 
face=Arial>mb_registerVendorSpecific("mod_vs_init(mb_mapObj[i].wms[ii].wms_title, 
functionName)");</FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=#000080 size=2 face=Arial>var cruiseFilter = 'select * 
from<SPAN class=770223600-12012013> </SPAN>counties where 1=2';<BR>var 
addAffectedWMSTitle = "Query";</FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=#000080 size=2 face=Arial>function mod_vs_init(wmsTitle, 
functionName) {<BR> if (functionName == 'setMapRequest' || functionName == 
'setSingleMapRequest') { <BR>  if (wmsTitle == 
addAffectedWMSTitle){<BR>   var cruiseFilterString = 
escape(cruiseFilter);<BR>   return 'cruiseFilterCondition=' + 
cruiseFilterString;<BR>     }<BR> }<BR>}</FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=#000080 size=2 face=Arial>function  
buildMapfileFilter(themapSQL){<BR></FONT><FONT face=Arial><FONT 
color=#000080><FONT size=2> cruiseFilter = 
themapSQL;<BR> zoom("mapframe1", 
true,0.9999);<BR>}</FONT></FONT></FONT></DIV>
<DIV><FONT color=#000080 size=2 face=Arial></FONT> </DIV>
<DIV><SPAN class=770223600-12012013><FONT color=#000080 size=2 
face=Arial>-----------------------------------------------------------------------------------</FONT></SPAN></DIV>
<DIV><SPAN class=770223600-12012013><FONT color=#000080 size=2 
face=Arial></FONT></SPAN> </DIV>
<DIV><SPAN class=770223600-12012013><FONT color=#000080 size=2 face=Arial>Any 
hint is greatly appreciated</FONT></SPAN></DIV>
<DIV align=left>
<P class=MsoNormal><SPAN 
style="FONT-FAMILY: 'Verdana','sans-serif'; FONT-SIZE: 11pt">Karsten</SPAN></P></DIV><br/><br/><br><br><FONT face="Tahoma" size="2"><br>=======<br>Email scanned by PC Tools - No viruses or spyware found.<br>(Email Guard: 9.0.0.2308, Virus/Spyware Database: 6.20940)<br><a href=http://www.pctools.com/?cclick=EmailFooterClean_51>http://www.pctools.com</a><br>=======</FONT>
</BODY></HTML>