[Chameleon] ttt_query.html and query widget

Ken Sanderson ken at rockies.ca
Tue Aug 31 19:16:59 EDT 2004


Hello all. I was wrestling with getting the query widget to work with my
layers (using 1.99b). By using the one layer in the samples that allowed
you to query it I was able to determine in order for me to query a layer
I needed to define its template property. I noticed in the samples that
they have:

      TEMPLATE "ttt_query.html"

I also noticed that ttt_query.html doesn't exist, at least it doesn't in
any of my chameleon folders. Does the query widget just default to
QueryResults.phtml if it cant find the file in the TEMPLATE property, or
how is this working if the file actually exists?

On a related note does the radio buttons in the enhanced samples
'sample_enhanced.html' have any impact upon what layers are queried?
Doesn't seem like it does, which brings up my next question. What are
the radio buttons for?

Thanks,

Ken




More information about the Chameleon mailing list