Hi,

I'm not sure about the intended behaviour of this function in case of defined 
RESULT_HYPERLINK, imagine this use case:

  METADATA
   DESCRIPTION  "Particelle catastali"
   RESULT_HEADERS       "Particella,GID"
   RESULT_HYPERLINK     "particella||Apri scheda particella,gid||Rif. 
catastale"
   RESULT_FIELDS        "particella,gid"
   LAYER_ENCODING       "UTF-8"
  END

This works as expected in search and query mode, but when using iquery, the 
hyperlink strings are shown instead of the real field values.

I don't know if this is the expected beahviour, if this is the case, I propose 
to change it in order to show the real values when in iquery mode since in 
this mode there is no click-able hyperlink in the iquery result window.

To change this, is sufficient to add a check for $this->mode != 'iquery' in 
printFieldValues() and import $this->mode value in "Query" subclasses from 
the parent class (BTW this value is stored in $_SESSION) since constructor is 
not called in derived classes.

Regards.

-- 
Alessandro Pasotti
itOpen - "Open Solutions for the Net Age"
w3:  www.itopen.it
Linux User# 167502

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to