[Cartoweb-users] HowToWriteaRecenterPlugin not receiving a Getparameter

Albert Casanovas casanovas at k2sistemas.com.br
Mon Jul 28 15:34:52 EDT 2008


Hi Oliver,

Thanks again, you were right, we solve it, i am not sure if was because the mode of the server conf was in production mode but now is working perfectly. 

Regards,
Albert


  ----- Original Message ----- 
  From: Oliver Christen 
  To: Albert Casanovas ; cartoweb-users at lists.maptools.org 
  Sent: Friday, July 25, 2008 3:14 AM
  Subject: Re: [Cartoweb-users] HowToWriteaRecenterPlugin not receiving a Getparameter


  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/20080728/1160e6d2/attachment-0001.html


More information about the Cartoweb-users mailing list