[Chameleon] Query Widget returns too much information.

LITTLE Nelson nelson.little at tenix.com
Wed Aug 15 02:42:17 EDT 2007


In case others were wondering, I gave up on using the Logger class as I
couldn't get it to do anything at all!

Instead, I just used this line of code wherever I wanted to log
information to a file:

error_log ( " message here\n", 3, "/ms4w/tmp/logthis.log");

Cheers,
Nelson



-----Original Message-----
From: chameleon-bounces at lists.maptools.org
[mailto:chameleon-bounces at lists.maptools.org] On Behalf Of LITTLE Nelson
Sent: Tuesday, 14 August 2007 5:38 PM
To: Jason Fournier; chameleon at lists.maptools.org
Subject: RE: [Chameleon] Query Widget returns too much information.

Further to my issue below I see in a lot of places code such as:

$this->logFuncStart( LOG_VERBOSE, "getResultSet() starting" );

I understand that this is a call from the Logger class of which the
class I am looking at extends (class MapQuery extends Logger )

My question is how to I activate the logger so it logs to a file?

Cheers,
Nelson



-----Original Message-----
From: chameleon-bounces at lists.maptools.org
[mailto:chameleon-bounces at lists.maptools.org] On Behalf Of LITTLE Nelson
Sent: Monday, 13 August 2007 9:46 AM
To: Jason Fournier; chameleon at lists.maptools.org
Subject: RE: [Chameleon] Query Widget returns too much information.

Jason,

Thank you so much, very helpful page indeed!

Cheers,
Nelson

-----Original Message-----
From: chameleon-bounces at lists.maptools.org
[mailto:chameleon-bounces at lists.maptools.org] On Behalf Of Jason
Fournier
Sent: Sunday, 12 August 2007 9:42 AM
To: chameleon at lists.maptools.org
Subject: RE: [Chameleon] Query Widget returns too much information.

Hi Nelson,

Not sure if anyone addressed your question - try the following:

http://chameleon-tiki.maptools.org/tiki-index.php?page=QueryWidgetCustom
izin
gResults

While looping through the results you should be able to limit the output
to
RESULT_FIELDS.

Best regards,
Jason




-----Original Message-----
From: chameleon-bounces at lists.maptools.org
[mailto:chameleon-bounces at lists.maptools.org] On Behalf Of LITTLE Nelson
Sent: Friday, August 10, 2007 2:00 AM
To: chameleon at lists.maptools.org
Subject: [Chameleon] Query Widget returns too much information.

Hello Chameleons!

I am using the Query Widget but I find that when I query an item the
popup results windows displays values for every attribute for the
item(s) queried. 

In my map file I have defined the attributes that should be returned in
the "RESULT_FIELDS" for the layer being queried. I would expect that the
query widget only returned the values for the attributes defined in
"RESULT_FIELDS". 

Can anyone offer any help?

Cheers,
Nelson

Disclaimer :
The contents of this e-mail including any attachments are intended only
for the person or entity to which this e-mail is addressed.  If you are
not,
or believe you may not be, the intended recipient, please advise the
sender
immediately by return e-mail, delete this e-mail and destroy any copies.
Tenix does not warrant nor guarantee that this email communication is
free
from errors, virus, interception or interference.


_______________________________________________
Chameleon mailing list
Chameleon at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/chameleon

_______________________________________________
Chameleon mailing list
Chameleon at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/chameleon

Disclaimer :
The contents of this e-mail including any attachments are intended only
for the person or entity to which this e-mail is addressed.  If you are
not,
or believe you may not be, the intended recipient, please advise the
sender
immediately by return e-mail, delete this e-mail and destroy any copies.
Tenix does not warrant nor guarantee that this email communication is
free
from errors, virus, interception or interference.


_______________________________________________
Chameleon mailing list
Chameleon at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/chameleon

Disclaimer :
The contents of this e-mail including any attachments are intended only
for the person or entity to which this e-mail is addressed.  If you are
not,
or believe you may not be, the intended recipient, please advise the
sender
immediately by return e-mail, delete this e-mail and destroy any copies.
Tenix does not warrant nor guarantee that this email communication is
free
from errors, virus, interception or interference.


_______________________________________________
Chameleon mailing list
Chameleon at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/chameleon

Disclaimer :
The contents of this e-mail including any attachments are intended only
for the person or entity to which this e-mail is addressed.  If you are not,
or believe you may not be, the intended recipient, please advise the sender
immediately by return e-mail, delete this e-mail and destroy any copies.
Tenix does not warrant nor guarantee that this email communication is free
from errors, virus, interception or interference.




More information about the Chameleon mailing list