<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hello,<br>
<br>
to manage map layers, you need to modify the following files (according
you're working on sampleProject):<br>
- /projects/sampleProject/server_conf/sampleProject.map<br>
- /projects/sampleProject/server_conf/layers.ini<br>
<br>
See:<br>
- How to setup layers:
<a class="moz-txt-link-freetext" href="http://cartoweb.org/doc/cw3.3/xhtml/user.layers.html">http://cartoweb.org/doc/cw3.3/xhtml/user.layers.html</a><br>
- Mapfile reference: <a class="moz-txt-link-freetext" href="http://mapserver.gis.umn.edu/docs/reference/mapfile">http://mapserver.gis.umn.edu/docs/reference/mapfile</a><br>
<br>
Regards,<br>
Damien<br>
<br>
<br>
andreas mutota wrote:
<blockquote cite="mid38081.51297.qm@web52209.mail.re2.yahoo.com"
type="cite">
<div class="MsoNormal">Hi list!</div>
<br>
<div class="MsoNormal"><br>
</div>
<div class="MsoNormal">I am looking for help on how to make mainmap
displayed.<br>
</div>
<div class="MsoNormal">As I have been fixing my first mapping
application so far I managed to add some layers to the sampleProject
but there is still a tricky connection I am failing to corner them up.</div>
<div class="MsoNormal">The reference map is up but the main-Map is
still fiancé, which I want remove and put mine. I am trying to use a
quite deferent map as reference one but only the fiancé map is still
navigated instead.</div>
<div class="MsoNormal">I am seeing that there is a communication
between mainmap.tpl and cartoclient.tpl where the mainmap.tpl kind of
submitting the information to cartoclient.tpl by using {include
file="mainmap.tpl"} thus the francs map comes up.</div>
<div class="MsoNormal">Could someone pleasse help me out? How do I
change francs map to my own mainmap in this application? </div>
<div class="MsoNormal">I read through the cartoweb.manual (pdf) but I
do not real see a page where it explains much regarding this matter.</div>
<div class="MsoNormal">Best regards</div>
<div class="MsoNormal">Andreas mutota.</div>
<!--[if !supportEmptyParas]--><!--[endif]--><o:p></o:p><br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<b><i><a class="moz-txt-link-abbreviated" href="mailto:cartoweb-users-request@lists.maptools.org">cartoweb-users-request@lists.maptools.org</a></i></b> wrote:
<blockquote class="replbq"
style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;">
Send Cartoweb-users mailing list submissions to<br>
<a class="moz-txt-link-abbreviated" href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a class="moz-txt-link-freetext" href="http://lists.maptools.org/mailman/listinfo/cartoweb-users">http://lists.maptools.org/mailman/listinfo/cartoweb-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a class="moz-txt-link-abbreviated" href="mailto:cartoweb-users-request@lists.maptools.org">cartoweb-users-request@lists.maptools.org</a><br>
<br>
You can reach the person managing the list at<br>
<a class="moz-txt-link-abbreviated" href="mailto:cartoweb-users-owner@lists.maptools.org">cartoweb-users-owner@lists.maptools.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Cartoweb-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. RE: mapquery issue (zze-SIGALE PORTANERI F ext RD-BIZZ-SOP)<br>
2. Re: mapOverlay cartoweb (Oliver Christen)<br>
3. Help (MUTOTA)<br>
4. IE problems and cms (Lauber Christoph)<br>
5. Re: IE problems and cms (Oliver Christen)<br>
6. Re: Help (Oliver Christen)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Thu, 22 Mar 2007 18:43:36 +0100<br>
From: "zze-SIGALE PORTANERI F ext RD-BIZZ-SOP"<br>
<fportaneri.ext@orange-ftgroup.com><br>
Subject: [Cartoweb-users] RE: mapquery issue<br>
To: <cartoweb-users@lists.maptools.org><br>
Message-ID:<br>
<D4EF10CCEB2CE742BEEA9838C590B0E807782D85@FTRDMEL2.rd.francetelecom.fr><br>
<br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Just to add some new stuff here:<br>
<br>
The mapfile layer definition defines :<br>
<br>
METADATA<br>
"id_attribute_string" "idcapt|string"<br>
END<br>
<br>
The Postgresql table is defined as follow:<br>
<br>
CREATE TABLE capteurs<br>
(<br>
idcapt varchar NOT NULL,<br>
geom geometry,<br>
"type" varchar,<br>
CONSTRAINT capteurs_pkey PRIMARY KEY (idcapt),<br>
CONSTRAINT "SRID_GEOM_RULE" CHECK (srid(geom) = -1),<br>
CONSTRAINT "TYPE_GEOM_RULE" CHECK (geometrytype(geom) = 'POINT'::text
OR geom IS NULL)<br>
) <br>
WITH OIDS;<br>
<br>
I notice that for capteurs element where the field "idcapt" is a
numeric value ('1', '400'...) , everything is OK<br>
BUT if some alphanumeric apears in that field ('3F', 'F40'..), the
mapquery getShapes() query fails as described...<br>
<br>
Any reason?<br>
<br>
Franck <br>
<br>
> _____________________________________________ <br>
> De : zze-SIGALE PORTANERI F ext RD-BIZZ-SOP <br>
> Envoyé : jeudi 22 mars 2007 17:12<br>
> À : '<a class="moz-txt-link-abbreviated" href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</a>'<br>
> Cc : 'Sylvain Pasche'<br>
> Objet : mapquery issue<br>
> <br>
> <br>
> Hi,<br>
> <br>
> I have a mapquery plugin issue: While doing a queryByBbox()
request on a area where one element must be found, the cartoclient
display the following error: <br>
> <br>
> class CartocommonException { protected $message = 'Error [8,
Trying to get property of non-object,
/exec/applis/sglpgo/G01R00C02/cartoweb3/coreplugins/query/server/ServerQuery.php,
122] Backtrace: file: 200 -
/exec/applis/sglpgo/G01R00C02/cartoweb3/common/Common.php call:
Common::cartowebErrorHandler() file: 122 -
/exec/applis/sglpgo/G01R00C02/cartoweb3/coreplugins/query/server/ServerQuery.php
call: Common::cartowebErrorHandler() file: 122 -
/exec/applis/sglpgo/G01R00C02/cartoweb3/coreplugins/query/server/ServerQuery.php
call: ServerQuery::resultToTable() file: 227 -<br>
> ...<br>
> <br>
> Adding traces to the log and trying to analyse it, it looks like
the serveurMapquery plugin found one element and the extractResults
$msLayer->getResult($i) return an object as follow:<br>
> <br>
> Thu Mar 22 16:25:22 2007,703 [30941] DEBUG ServerMapquery - class
stdClass {<br>
> public $shapeindex = 1841530366;<br>
> public $tileindex = -1;<br>
> public $classindex = 6;<br>
> }<br>
> <br>
> Which is return a shape to the ServerQuery plugin as follow:<br>
> <br>
> Thu Mar 22 16:25:22 2007,704 [30941] DEBUG ServerQuery -
resultshape=<br>
> Thu Mar 22 16:25:22 2007,705 [30941] DEBUG ServerQuery - array (<br>
> 0 => false,<br>
> )<br>
> <br>
> Any clue?<br>
> <br>
> <br>
> Thanks in advance,<br>
> Franck<br>
> <br>
> <br>
> <br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL:
<a class="moz-txt-link-freetext" href="http://lists.maptools.org/pipermail/cartoweb-users/attachments/20070322/0f5802fa/attachment-0001.html">http://lists.maptools.org/pipermail/cartoweb-users/attachments/20070322/0f5802fa/attachment-0001.html</a><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Fri, 23 Mar 2007 07:27:53 +0100<br>
From: "Oliver Christen" <oliver.christen@camptocamp.com><br>
Subject: Re: [Cartoweb-users] mapOverlay cartoweb<br>
To: "Luigi.marotta" <luigi.marotta@email.it>,<br>
<cartoweb-users@lists.maptools.org><br>
Message-ID: <020901c76d14$6808d010$15e3a8c0@maunakea><br>
Content-Type: text/plain; format=flowed; charset="iso-8859-1";<br>
reply-type=original<br>
<br>
Hi Luigi,<br>
<br>
the error is certainly not in your client side.<br>
see the last part of the error stack:<br>
<br>
message: Error [8, Trying to get property of non-object,<br>
C:\wamp\www\cartoweb3\server\Cartoserver.php, 229]<br>
<br>
the problem happens on the server side.<br>
<br>
now, to know what happen, you must try to see if the events in the
chain <br>
happen correcty one after another.<br>
<br>
put some print(); (<a class="moz-txt-link-freetext" href="http://ch2.php.net/manual/en/function.print.php">http://ch2.php.net/manual/en/function.print.php</a>) or <br>
print_r(); (<a class="moz-txt-link-freetext" href="http://ch2.php.net/manual/en/function.print-r.php">http://ch2.php.net/manual/en/function.print-r.php</a>) at each <br>
steps: in handleHttpPostRequest, buildRequest, initializeRequest and <br>
handlePreDrawing until you find exactly where the problem is.<br>
<br>
regards<br>
Oliver<br>
<br>
><br>
> This erore is originated in:<br>
><br>
> public function handleHttpPostRequest($request) {<br>
> if (isset($request['specialactiontrigger'])) {<br>
> $this->specialactiontrigger = true;<br>
> }<br>
> else {<br>
> $this->specialactiontrigger = false;<br>
> }<br>
> }<br>
><br>
> in Client part of my plugin, I suppose. You Can halp me again?<br>
> Thanks<br>
><br>
><br>
><br>
> --------- Original Message --------<br>
> Da: Oliver Christen <oliver.christen@camptocamp.com><br>
> To: <a class="moz-txt-link-abbreviated" href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</a> <cartoweb-users@lists.maptools.org><br>
> Oggetto: Re: [Cartoweb-users] mapOverlay cartoweb<br>
> Data: 22/03/07 14:05<br>
><br>
> ><br>
>><br>
>><br>
>> hi Luigi<br>
>><br>
>> first you need to recover the submit action. a simple <input><br>
>> type="submit"<br>
><br>
>> value="ok" /> as you set in your template will simply post
the form but<br>
>> initiate no action.<br>
>> give a name to you input <input name="specialactiontrigger"
type="submit"><br>
>> value="ok" /><br>
>> if you dont give a name to your input they are simply ignored.<br>
>><br>
>> next step is to recover the "specialactiontrigger" in the
client part<br>
>><br>
>> declare the variable at the beginning of the plugin:<br>
>><br>
>> protected $specialactiontrigger;<br>
>><br>
>> to do so use the handleHttpPostRequest($request) function,
like this:<br>
>><br>
>> handleHttpPostRequest($request) {<br>
>> if (isset($request['specialactiontrigger']) {<br>
>> $this->specialactiontrigger = true;<br>
>> } else {<br>
>> $this->specialactiontrigger = false;<br>
>> }<br>
>> }<br>
>><br>
>> you need to put something in the buildRequest() { } function,
otherwise<br>
> the<br>
>> server part will not be called<br>
>> something like :<br>
>><br>
>> public function buildRequest() {<br>
>> if ($this->specialactiontrigger) {<br>
>> return $this->specialactiontrigger;<br>
>> }<br>
>><br>
>> }<br>
>><br>
>> then, on the server part:<br>
>><br>
>> protected $specialactiontrigger;<br>
>><br>
>> public function initializeRequest($requ) {<br>
>> if ($requ) {<br>
>> $this->specialactiontrigger = $requ;<br>
>> }<br>
>> }<br>
>><br>
>> and finally<br>
>><br>
>> public function handlePreDrawing($request){<br>
>> if (isset($this->specialactiontrigger ) {<br>
>> $msMapObj = $this->serverContext->getMapObj();<br>
>> $layer = new LayerOverlay();<br>
>> $layer->action = BasicOverlay::ACTION_INSERT;<br>
>> $layer->name = "mappa";<br>
>> $layer->data = "images/cc_20050603.tif";<br>
>> $mapOverlay =
$this->serverContext->getPluginManager()->mapOverlay;<br>
>> $mapOverlay = updateMap($layer);<br>
>> $this->serverContext->getMapObj()->save('debug.map');<br>
>> }<br>
>> }<br>
>><br>
>> you notice its like a chain of events:<br>
>><br>
>
input->handleHttpPostRequest->buildRequest->//->initializeRequest->handlePreDrawing<br>
>><br>
>> see <a class="moz-txt-link-freetext" href="http://www.cartoweb.org/doc/misc/plugins_diagram.pdf">http://www.cartoweb.org/doc/misc/plugins_diagram.pdf</a> to
understand <br>
>> the<br>
><br>
>> flow of events in Cartoweb<br>
>><br>
>> Regards<br>
>> Oliver<br>
>><br>
>> ----- Original Message ----- <br>
>> From: "Luigi.marotta" <luigi.marotta@email.it><br>
>> To: <cartoweb-users@lists.maptools.org><br>
>> Sent: Thursday, March 22, 2007 8:04 AM<br>
>> Subject: [Cartoweb-users] mapOverlay cartoweb<br>
>><br>
>><br>
>> ><br>
>> > Salve a tutti,<br>
>> > sto usando CartoWeb ed ho la necessità di rendere<br>
>> > modificabile, al volo, un raster. Ho implementato un
plugin per<br>
> modificare<br>
>> > il campo "data" di un raster.<br>
>> > Client:<br>
>> > >> > /**<br>
>> > * ClientDataMappa.php<br>
>> > */<br>
>> ><br>
>> > class ClientDataMappa extends ClientPlugin<br>
>> > implements GuiProvider, serverCaller {<br>
>> ><br>
>> > /**<br>
>> > * GuiProvider methods<br>
>> > */<br>
>> > public function handleHttpPostRequest($request) {}<br>
>> > public function handleHttpGetRequest($request) {}<br>
>> ><br>
>> > public function buildRequest() {}<br>
>> > //public function renderForm(Smarty $template) {}<br>
>> ><br>
>> > protected function drawUserForm() {<br>
>> > $smarty = new Smarty_Plugin($this->getCartoclient(),
$this);<br>
>> > return $smarty->fetch('dataInput.tpl');<br>
>> > }<br>
>> ><br>
>> > public function renderForm(Smarty $template) {<br>
>> > $template->assign('dataInput',
$this->drawUserForm());<br>
>> > }<br>
>> ><br>
>> > public function initializeResult ($request){}<br>
>> > public function handleResult($request){}<br>
>> ><br>
>> ><br>
>> > }<br>
>> > ?><br>
>> ><br>
>> > Template:<br>
>> ><!-- dataInput.tpl --> <br>
>> > <input value="ok" type="submit"><br>
>> ><br>
>> > Server:<br>
>> > >> > class ServerDataMappa extends
ClientResponderAdapter {<br>
>> > //public function updateMap(BasicOverlay $overlay){<br>
>> > public function handlePreDrawing($request){<br>
>> > $msMapObj = $this->serverContext->getMapObj();<br>
>> > $layer = new LayerOverlay();<br>
>> > $layer->action = BasicOverlay::ACTION_INSERT;<br>
>> > $layer->name = "mappa";<br>
>> > $layer->data = "images/cc_20050603.tif";<br>
>> > $mapOverlay =
$this->serverContext->getPluginManager()->mapOverlay;<br>
>> > $mapOverlay = updateMap($layer);<br>
>> >
$this->serverContext->getMapObj()->save('debug.map');<br>
>> > }<br>
>> > }<br>
>> > ?><br>
>> ><br>
>> > Il template presenta solo un pulsante che dovrebbe
richiamare la parte<br>
>> > server per modificare il raster ma non funziona ed anche
se lascio il<br>
>> > campo<br>
>> > data vuoto o vi inserisco un indirizzo inesistente non
ottengo nessun<br>
>> > cambiamente. Dove sbaglio!<br>
>> > Grazie a tutti anticipatamente<br>
>> ><br>
>> > Luigi<br>
>> > --<br>
>> > Email.it, the professional e-mail, gratis per te:
<a class="moz-txt-link-freetext" href="http://www.email.it/f">http://www.email.it/f</a><br>
>> ><br>
>> > Sponsor:<br>
>> ><br>
>> > Clicca qui:
<a class="moz-txt-link-freetext" href="http://adv.email.it/cgi-bin/foclick.cgi?mid=6119&d=20070322">http://adv.email.it/cgi-bin/foclick.cgi?mid=6119&d=20070322</a><br>
>> ><br>
>> ><br>
>> > _______________________________________________<br>
>> > Cartoweb-users mailing list<br>
>> > <a class="moz-txt-link-abbreviated" href="mailto:Cartoweb-users@lists.maptools.org">Cartoweb-users@lists.maptools.org</a><br>
>> > <a class="moz-txt-link-freetext" href="http://lists.maptools.org/mailman/listinfo/cartoweb-users">http://lists.maptools.org/mailman/listinfo/cartoweb-users</a><br>
>> ><br>
>><br>
>><br>
>><br>
>><br>
> --<br>
> Email.it, the professional e-mail, gratis per te:
<a class="moz-txt-link-freetext" href="http://www.email.it/f">http://www.email.it/f</a><br>
><br>
> Sponsor:<br>
> CD-DVD Vergini. Ampia scelta tra le migliori marche: Verbatim,
Sony, Benq.<br>
> Prezzi sotto costo, visita il sito<br>
> Clicca qui:
<a class="moz-txt-link-freetext" href="http://adv.email.it/cgi-bin/foclick.cgi?mid=6120&d=20070322">http://adv.email.it/cgi-bin/foclick.cgi?mid=6120&d=20070322</a><br>
><br>
><br>
> <br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Fri, 23 Mar 2007 11:33:03 +0100<br>
From: "MUTOTA" <s9911197@students.polytechnic.edu.na><br>
Subject: [Cartoweb-users] Help<br>
To: <a class="moz-txt-link-abbreviated" href="mailto:cartoweb-users@lists.maptools.org">cartoweb-users@lists.maptools.org</a><br>
Message-ID: <a class="moz-txt-link-rfc2396E" href="mailto:20070323102408.M69952@students.polytechnic.edu.na"><20070323102408.M69952@students.polytechnic.edu.na></a><br>
Content-Type: text/plain; charset=iso-8859-1<br>
<br>
Hi list!<br>
<br>
I got the far bellow information from Oliver christen but it<br>
is uncclear enough.<br>
<br>
I can get hold of christen or subscribing striaght to the list member. <br>
<br>
In the bellow info, there is talking about templates ,client and server<br>
should be edited at least. I want to fix my application as well but
those <br>
files (templates ,client and server )are not real specified.<br>
Please i fan idea direct me so that I will be able to display my
mainmap which<br>
is refusing to show up.<br>
<br>
(1) Which files do I have to edit to make my mainmap displayed?<br>
(2) In which file as well I can edit <input type="submit"><br>
value="ok" /> TO <input type="submit"><br>
name="specialactiontrigger" value="ok" /> ? <br>
<br>
<br>
Thank you very much for your help<br>
<br>
Andreas Mutota<br>
<br>
<br>
<br>
> first you need to <br>
>recover the submit action. a simple <input> type="submit" <br>
> value="ok" /> as you set in your template will simply > post
the <br>
> form but initiate no action. give a name to you input > <input><br>
> type="submit" name="specialactiontrigger" value="ok" /> if >
you <br>
> dont give a name to your input they are simply ignored. > > <br>
> next step is to recover the "specialactiontrigger" in the client <br>
> part ><br>
> <br>
> - Ignored:<br>
> > declare the variable at the beginning of the plugin:<br>
> > <br>
> > protected $specialactiontrigger;<br>
> > <br>
> > to do so use the handleHttpPostRequest($request) function, <br>
> like this: > > handleHttpPostRequest($request) { > if <br>
> (isset($request['specialactiontrigger']) { > $this-<br>
> >specialactiontrigger = true; > } else { > $this-<br>
> >specialactiontrigger = false; > } > } > > you need
<br>
> to put something in the buildRequest() { } function, >
otherwise <br>
> the server part will not be called something like : > > <br>
> public function buildRequest() { > if ($this-<br>
> >specialactiontrigger) { > return
$this->specialactiontrigger;<br>
> > }<br>
> > <br>
> > }<br>
> > <br>
> > then, on the server part:<br>
> ><br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Fri, 23 Mar 2007 12:02:43 +0100<br>
From: "Lauber Christoph" <ch.lauber@geo-thun.ch><br>
Subject: [Cartoweb-users] IE problems and cms<br>
To: <cartoweb-users@lists.maptools.org><br>
Message-ID: <C223632939B30945911B6F66B958B88058C257@beoappl1.bdat.ch><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Hi<br>
<br>
Two of our clients got problems with the IE browser.<br>
One got a bluescreen (not the systemcrash bluescreen) instead of the<br>
image. He sees the map apearing, but then it is covered by the blue<br>
image.<br>
The other is automaticly loged out with the first action after the login<br>
(zoom, pan, search, etc.).<br>
Both have none of these problems with Firefox!<br>
Does anybody knows a solution? Some settings in the Internet Options of<br>
IE?<br>
<br>
An other question concerns the graphical manipulation of CartoWeb.<br>
Exists something like a content management system for CartoWeb? Or does<br>
anybody works with a graphical edittool for the mapfiles? I read<br>
something about MapEdit of MapLab. Are there other recommendations?<br>
Thanks for your hints.<br>
<br>
<br>
<br>
Best regards<br>
<br>
<br>
Christoph Lauber<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Fri, 23 Mar 2007 12:23:48 +0100<br>
From: "Oliver Christen" <oliver.christen@camptocamp.com><br>
Subject: Re: [Cartoweb-users] IE problems and cms<br>
To: "Lauber Christoph" <ch.lauber@geo-thun.ch>,<br>
<cartoweb-users@lists.maptools.org><br>
Message-ID: <022501c76d3d$bc1eb470$15e3a8c0@maunakea><br>
Content-Type: text/plain; format=flowed; charset="iso-8859-1";<br>
reply-type=original<br>
<br>
Hi Christoph<br>
<br>
the problems with IE are most certainly caused by a level of security
set <br>
too high, which will prevent some parameter to be stored in cookies and
<br>
other effects like thats.<br>
tell your client to try to lower the security level (Internet Options, <br>
security) and test again.<br>
If that solve the problem, maybe it would be then better to use the
Custom <br>
Level and try to pinpoint exactly which settings should be changed.<br>
<br>
About mapfile edition, maplab is a good tool, but it only work with
php4.<br>
There are a few other work-in-progess project, like mapstorer, but none
that <br>
are really useable sadely.<br>
we have a project like that, that would be integrating Cartoweb but we
lack <br>
funding for this and hence it's not a priority so dont expect anything
soon.<br>
<br>
regards<br>
Oliver<br>
<br>
> Hi<br>
><br>
> Two of our clients got problems with the IE browser.<br>
> One got a bluescreen (not the systemcrash bluescreen) instead of
the<br>
> image. He sees the map apearing, but then it is covered by the blue<br>
> image.<br>
> The other is automaticly loged out with the first action after the
login<br>
> (zoom, pan, search, etc.).<br>
> Both have none of these problems with Firefox!<br>
> Does anybody knows a solution? Some settings in the Internet
Options of<br>
> IE?<br>
><br>
> An other question concerns the graphical manipulation of CartoWeb.<br>
> Exists something like a content management system for CartoWeb? Or
does<br>
> anybody works with a graphical edittool for the mapfiles? I read<br>
> something about MapEdit of MapLab. Are there other recommendations?<br>
> Thanks for your hints.<br>
><br>
><br>
><br>
> Best regards<br>
><br>
><br>
> Christoph Lauber<br>
><br>
> _______________________________________________<br>
> Cartoweb-users mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:Cartoweb-users@lists.maptools.org">Cartoweb-users@lists.maptools.org</a><br>
> <a class="moz-txt-link-freetext" href="http://lists.maptools.org/mailman/listinfo/cartoweb-users">http://lists.maptools.org/mailman/listinfo/cartoweb-users</a><br>
> <br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 6<br>
Date: Fri, 23 Mar 2007 12:37:01 +0100<br>
From: "Oliver Christen" <oliver.christen@camptocamp.com><br>
Subject: Re: [Cartoweb-users] Help<br>
To: "MUTOTA" <s9911197@students.polytechnic.edu.na>,<br>
<cartoweb-users@lists.maptools.org><br>
Message-ID: <024501c76d3f$93d0f260$15e3a8c0@maunakea><br>
Content-Type: text/plain; format=flowed; charset="iso-8859-1";<br>
reply-type=original<br>
<br>
Hi Andreas<br>
<br>
the texte you replied to was a response to Luigi Marotta question. Do
you<br>
work with him?<br>
if yes, you can see the answer there<br>
<a class="moz-txt-link-freetext" href="http://lists.maptools.org/pipermail/cartoweb-users/2007-March/002239.html">http://lists.maptools.org/pipermail/cartoweb-users/2007-March/002239.html</a><br>
<br>
otherwise I suppose I never received your question and some mix-up
happened<br>
with your emails<br>
<br>
regards<br>
Oliver<br>
<br>
<br>
<br>
----- Original Message ----- <br>
From: "MUTOTA" <s9911197@students.polytechnic.edu.na><br>
To: <cartoweb-users@lists.maptools.org><br>
Sent: Friday, March 23, 2007 11:33 AM<br>
Subject: [Cartoweb-users] Help<br>
<br>
<br>
> Hi list!<br>
><br>
> I got the far bellow information from Oliver christen but it<br>
> is uncclear enough.<br>
><br>
> I can get hold of christen or subscribing striaght to the list
member.<br>
><br>
> In the bellow info, there is talking about templates ,client and
server<br>
> should be edited at least. I want to fix my application as well
but those<br>
> files (templates ,client and server )are not real specified.<br>
> Please i fan idea direct me so that I will be able to display my
mainmap<br>
> which<br>
> is refusing to show up.<br>
><br>
> (1) Which files do I have to edit to make my mainmap displayed?<br>
> (2) In which file as well I can edit <input type="submit"><br>
> value="ok" /> TO <input type="submit"><br>
> name="specialactiontrigger" value="ok" /> ?<br>
><br>
><br>
> Thank you very much for your help<br>
><br>
> Andreas Mutota<br>
><br>
><br>
><br>
>> first you need to<br>
>>recover the submit action. a simple <input> type="submit"<br>
>> value="ok" /> as you set in your template will simply >
post the<br>
>> form but initiate no action. give a name to you input > <input><br>
>> type="submit" name="specialactiontrigger" value="ok" /> if
> you<br>
>> dont give a name to your input they are simply ignored. >
><br>
>> next step is to recover the "specialactiontrigger" in the
client<br>
>> part ><br>
>><br>
>> - Ignored:<br>
>> > declare the variable at the beginning of the plugin:<br>
>> ><br>
>> > protected $specialactiontrigger;<br>
>> ><br>
>> > to do so use the handleHttpPostRequest($request) function,<br>
>> like this: > > handleHttpPostRequest($request) { > if<br>
>> (isset($request['specialactiontrigger']) { > $this-<br>
>> >specialactiontrigger = true; > } else { > $this-<br>
>> >specialactiontrigger = false; > } > } > > you
need<br>
>> to put something in the buildRequest() { } function, >
otherwise<br>
>> the server part will not be called something like : > ><br>
>> public function buildRequest() { > if ($this-<br>
>> >specialactiontrigger) { > return<br>
>> >$this->specialactiontrigger;<br>
>> > }<br>
>> ><br>
>> > }<br>
>> ><br>
>> > then, on the server part:<br>
>> ><br>
><br>
><br>
> _______________________________________________<br>
> Cartoweb-users mailing list<br>
> <a class="moz-txt-link-abbreviated" href="mailto:Cartoweb-users@lists.maptools.org">Cartoweb-users@lists.maptools.org</a><br>
> <a class="moz-txt-link-freetext" href="http://lists.maptools.org/mailman/listinfo/cartoweb-users">http://lists.maptools.org/mailman/listinfo/cartoweb-users</a><br>
><br>
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Cartoweb-users mailing list<br>
<a class="moz-txt-link-abbreviated" href="mailto:Cartoweb-users@lists.maptools.org">Cartoweb-users@lists.maptools.org</a><br>
<a class="moz-txt-link-freetext" href="http://lists.maptools.org/mailman/listinfo/cartoweb-users">http://lists.maptools.org/mailman/listinfo/cartoweb-users</a><br>
<br>
<br>
End of Cartoweb-users Digest, Vol 23, Issue 20<br>
**********************************************<br>
</cartoweb-users@lists.maptools.org></s9911197@students.polytechnic.edu.na></cartoweb-users@lists.maptools.org></s9911197@students.polytechnic.edu.na></oliver.christen@camptocamp.com></cartoweb-users@lists.maptools.org></ch.lauber@geo-thun.ch></oliver.christen@camptocamp.com></C223632939B30945911B6F66B958B88058C257@beoappl1.bdat.ch></cartoweb-users@lists.maptools.org></ch.lauber@geo-thun.ch></s9911197@students.polytechnic.edu.na></cartoweb-users@lists.maptools.org></luigi.marotta@email.it></cartoweb-users@lists.maptools.org></oliver.christen@camptocamp.com></cartoweb-users@lists.maptools.org></luigi.marotta@email.it></oliver.christen@camptocamp.com></D4EF10CCEB2CE742BEEA9838C590B0E807782D85@FTRDMEL2.rd.francetelecom.fr></cartoweb-users@lists.maptools.org></fportaneri.ext@orange-ftgroup.com></blockquote>
<br>
<p> </p>
<hr size="1">It's here! Your new message!<br>
Get
<a
href="http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/">
new email alerts</a> with the free <a
href="http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/">Yahoo!
Toolbar.</a>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
Cartoweb-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Cartoweb-users@lists.maptools.org">Cartoweb-users@lists.maptools.org</a>
<a class="moz-txt-link-freetext" href="http://lists.maptools.org/mailman/listinfo/cartoweb-users">http://lists.maptools.org/mailman/listinfo/cartoweb-users</a>
</pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<style>
<!--
.signature {
font-family:verdana,helvetica,sans-serif;
font-size:0.8em;
line-height: 1.25em;
color: #9999BB;
width: 27em;
}
.signature div {
padding: 0.22em;
margin-bottom: 0.5em;
margin-top: 0.5em;
border-bottom: 1px dotted lightgray;
background-color: #FCFCFF;
}
.signature .attention {
background-color: #FFFAFA;
color: #FFBBBB;
font-size: 0.8em;
font-weight: bold;
}
.header {
}
-->
</style>
<div class="signature">
<div> <span style="font-weight: bold;">Camptocamp SA</span><br>
Damien Corpataux<br>
PSE A<br>
CH-1015 Lausanne<br>
</div>
<div> +41 21 619 10 22 <span class="header">(Direct)</span><br>
+41 21 619 10 10 <span class="header">(Centrale)</span><br>
+41 21 619 10 00 <span class="header">(Fax)</span><br>
</div>
<div style="color: rgb(102, 204, 102);"> <span
style="position: relative; top: -3px; font-family: Webdings; font-size: 24pt;">P</span>
<span style="">Please consider the environment <br>
Do you really need to print this email?</span>
</div>
</div>
</div>
</body>
</html>