<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.3790.2491" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2>Hi Venu,</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>at the constructor level, </FONT><FONT size=3>getMapObj() is
not available,</FONT></DIV>
<DIV>try calling it at the getInit() level.</DIV>
<DIV>please have a look at <A
href="http://www.cartoweb.org/doc/misc/plugins_diagram.pdf">http://www.cartoweb.org/doc/misc/plugins_diagram.pdf</A> ,
this show the flow and order of calls between the client and
server</DIV>
<DIV> </DIV>
<DIV><FONT size=2>Regards</FONT></DIV>
<DIV><FONT size=2>Oliver</FONT></DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=venu.papasani@gmail.com
href="mailto:venu.papasani@gmail.com">VenuGopal Papasani</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=cartoweb-users@lists.maptools.org
href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, February 28, 2006 10:06
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [Cartoweb-users] Hi Problem with
my Plugin</DIV>
<DIV><BR></DIV>
<DIV>Hi ,</DIV>
<DIV> I am trying to color my India map.First I
am trying to color the map without any functionality on the client side.I have
written the following plugin dhisind and i have written the serverDhisind.php
witth the functionality to just color my map.I am getting the following
error.when i did not call the function colormapfromdata() from the construct
the execution never enters into the function but when i added it in the
constructor I was getting the following error.I have referred to the following
link there is no method called getMapObj() in the ServerPlugin::serverContext
class.</DIV>
<DIV><A onclick="return top.js.OpenExtLink(window,event,this)"
href="http://cartoweb.org/doc/cw3.0/apidoc/Server/ServerPlugin.html#var$serverContext"
target=_blank>http://cartoweb.org/doc/cw3.0/apidoc/Server/ServerPlugin.html#var$serverContext
</A></DIV>
<DIV> </DIV>
<DIV>I need your help in solving this problem.</DIV>
<DIV> </DIV>
<DIV>I am here attaching my dhisind plugin and my
client.ini(client_conf),India.map,India.ini,layers.ini(server_conf)</DIV>
<DIV> </DIV>
<DIV>The error was as follows::</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><BR><B>Fatal error</B>: Call to a member function getMapObj() on a
non-object in
<B>C:\wamp\www\cartoweb3\plugins\dhisind\server\ServerDhisind.php</B> on line
<B>41</B></DIV>
<P><STRONG></STRONG> </P>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Regards,</DIV>
<DIV>Venu.</DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Cartoweb-users
mailing
list<BR>Cartoweb-users@lists.maptools.org<BR>http://lists.maptools.org/mailman/listinfo/cartoweb-users<BR></BLOCKQUOTE></BODY></HTML>