Hi,
I use this function to change value in context object but it don't work.
Please, help me!
    .....
-    <script>
-    var mbConfigUrl='config.xml';
-     
-      type=getParameter('TYPE');
-      init=function(type){
-     
config.objects.mainMap.setXpathValue(config.objects.mainMap,'//wmc:Literal',type);
-      };
-     <script/>
-
-      ....
-   <body onload="mbDoLoad(init)">
-     .....

getParameter(param) return the URL parameter param.

thanks in advance!
-- 
View this message in context: 
http://www.nabble.com/mbDoLoad%28init%29-to-change-value-in-WMC-by-URL-tp14622334p14622334.html
Sent from the MapBuilder Users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Mapbuilder-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mapbuilder-users

Reply via email to