No, unfortuantely I don't thinks it's possible currently. I was already 
thinking about something like this so that one could define the text of the 
link taken from a different field than the link location itself. At the moment 
you can just specify a general alias like "Open link..." that is the same for 
all of the records. 

It's also not possible to display a field once normal and once as a link. With 
Postgis you could circumvent at least this with the DATA tag using a definition 
like

the_geom from(select field_1 as name, field_1 as xyzname, field_2 as ...) ...

this way the field_1 is doubled in the results.

I will see if it can go at least into the next main release of p.mapper, since 
it's not too complicated to implement. But it needs a modification of the link 
definition in the map file and this means that very likely older definitions 
will not work any more.

armin
 
-------- Original-Nachricht --------
Datum: Tue, 07 Nov 2006 12:02:53 +0100
Von: "Nuria González" <[EMAIL PROTECTED]>
An: [email protected]
Betreff: [pmapper-users] hyperlinks

> Hi,
> I have a doubt about hyperlinks for selected fields. I have a postgis
> table 
> with two columns: id & name, where id is unique.
> In the window that appears when you clic about a point, I want a hyperlink
> with the column 'name' of my table, but the link should be 
> "javascript:openHyperlink('nblayer', 'id', 'X')" where X is the number for
> the column 'id'. I want this because 'id' is unique but 'name' can be 
> repeated...
> 
> Is it possible in pmapper? How can I do this?
> TIA.
> 
> _________________________________________________________________
> Acepta el reto MSN Premium: Protección para tus hijos en internet. 
> Descárgalo y pruébalo 2 meses gratis. 
> http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_proteccioninfantil
> 
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job
> easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> pmapper-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pmapper-users

-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
pmapper-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to