[Cartoweb-users] HowToWriteaRecenterPlugin not receiving a Getparameter

Oliver Christen oliver.christen at camptocamp.com
Fri Jul 25 02:14:13 EDT 2008


mmm, as long as a plugin is activated in your client.ini AND your plugin class implements the FilterProvider interface, it will pass by the filterGetRequest if the the application is accessed via an url.

a simple test is to put some print "xyz" in both functions filterGetRequest and filterPostRequest to see which one is effectively triggered.
then do a print_r($request) to see what parametrers are received by the application.

if you see a "posted=1", then it means somehow the data is considered being sent via POST and not GET. You just have to find out why that parameter is received when it should not (in case of external access)

regards
Oliver
  ----- Original Message ----- 
  From: Albert Casanovas 
  To: cartoweb-users at lists.maptools.org 
  Sent: Thursday, July 24, 2008 10:47 PM
  Subject: [Cartoweb-users] HowToWriteaRecenterPlugin not receiving a Getparameter


  Hi to all,

  We have implemented the HowToWriteaRecenterPlugin of the cartoweb Wifi web site and instead of using the filterPostRequest are using the filterGetRequest since we want to receive a parameter sent by another web site.

  The problem is that we dont know why cartoweb is not passing through the handleHttpGetRequest of the ClientExampleRecentering.php pluguin. We have used the log messages to visualize it in the cartoweb.log but no signal of any activity in its methods.

  Regards,
  Albert





------------------------------------------------------------------------------


  _______________________________________________
  Cartoweb-users mailing list
  Cartoweb-users at lists.maptools.org
  http://lists.maptools.org/mailman/listinfo/cartoweb-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/cartoweb-users/attachments/20080725/3364220a/attachment.html


More information about the Cartoweb-users mailing list