<div dir="ltr">Oliver,<br>not able to do this. Could you point me to some sample code (in wiki or somewhere else)?<br><br>Thank you<br><br>Valerio<br><br><br><div class="gmail_quote">2008/9/9 Oliver Christen <span dir="ltr"><<a href="mailto:oliver.christen@camptocamp.com">oliver.christen@camptocamp.com</a>></span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff">
<div><font size="2">Hi</font></div>
<div><font size="2"></font> </div>
<div><font size="2">the plugin class
must implements GuiProvider, then you can output variable to the
template and, if you want, trigger some javascript.</font></div>
<div><font size="2"></font> </div>
<div><font size="2">regards</font></div>
<div><font size="2">Oliver</font></div>
<blockquote style="border-left: 2px solid rgb(0, 0, 0); padding-right: 0px; padding-left: 5px; margin-left: 5px; margin-right: 0px;"><div><div></div><div class="Wj3C7c">
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">----- Original Message ----- </div>
<div style="background: rgb(228, 228, 228) none repeat scroll 0% 0%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;">
<b>From:</b>
<a title="valerionoti@yahoo.it" href="mailto:valerionoti@yahoo.it" target="_blank">Valerio
Noti</a> </div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>To:</b> <a title="cartoweb-users@lists.maptools.org" href="mailto:cartoweb-users@lists.maptools.org" target="_blank">cartoweb-users@lists.maptools.org</a>
</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Sent:</b> Tuesday, September 09, 2008 12:17
PM</div>
<div style="font-family: arial; font-style: normal; font-variant: normal; font-weight: normal; font-size: 10pt; line-height: normal; font-size-adjust: none; font-stretch: normal;"><b>Subject:</b> [Cartoweb-users] Geoloc
coordinates in a new window</div>
<div><br></div>
<div dir="ltr">Hi all,<br>I installed geoloc plugin and works fine.<br>I'd like
to show coordinates in a new window instead of an alert message.<br>In geoloc
php file I commented this line:<br>//
$this->getCartoclient()->addMessage('geo_x='.$this->Geo_x.',geo_y='.$this->Geo_y);<br>Where
(and how) can I write a javascript window.open method and pass to the new
window Geo_x and Geo_y<br>parameters?<br><br>I tried without success to insert
it in renderFormPrepare function:<br>return array('geoloc_active' =>
$this->pluginStatus,<br>
'geo_x' =>
$this->Geo_x,<br>
'geo_y' =>
$this->Geo_y);<br>
//open a new
window...<br>
........<br><br><br>Thanks in advance<br><br>Valerio<br></div>
</div></div><p>
</p><hr>
<p></p>_______________________________________________<br>Cartoweb-users
mailing
list<br><a href="mailto:Cartoweb-users@lists.maptools.org" target="_blank">Cartoweb-users@lists.maptools.org</a><br><a href="http://lists.maptools.org/mailman/listinfo/cartoweb-users" target="_blank">http://lists.maptools.org/mailman/listinfo/cartoweb-users</a><br>
</blockquote></div>
</blockquote></div><br><br clear="all"><br>-- <br>/* <br>Valerio Noti<br>*/<br>
</div>