[Chameleon] Query widget

Paul Spencer pspencer at dmsolutions.ca
Mon Jun 27 12:34:25 EDT 2005


Peter,

Chameleon does not currently use query templates when outputing query 
results due to its start in the OGC world (we didn't even use a map 
file, just Context files).

It would be relatively simple to build a new query widget (QueryTemplate 
... ala LegendTemplate) that would use MapServer's templating 
functionality to display results.  However, as I have no particular need 
for such a widget right now, it would have to be contributed (or funded!)

Cheers

Paul

Peter Kingsbury wrote:
> 
> Hello list,
> 
> I am trying to expose a query functionality on my mapserver.
> 
> Within my .map file, I have specified template, header, and footer 
> sections pointing to .html files I have created.
> 
> However, when I generate a query using the query widget, only the file 
> Query.php and QueryResults.phtml are used, and the dataset that I 
> receive as a result of the query, is the entire data set.
> 
> I'd like to know:
> - Is the header/template/footer functionality of the .map file 
> deprecated in Chameleon?
> - Must I hand-code my own query (in terms of formatting and query result 
> "cropping" for my own aesthetic purposes) by creating a custom Query 
> widget? Or is there some way to expose the .map file format's 
> "header/template/footer" functionality?
> 
> I've been poring over MapServer and Chameleon docs, and numerous list 
> posts, and the former is what I'm led to believe. Much appreciation if 
> someone is able to clarify!
> 
> Cheers,
> - Peter
> 
> 
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
> 

-- 
+-----------------------------------------------------------------+
|Paul Spencer                           pspencer at dmsolutions.ca   |
+-----------------------------------------------------------------+
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+


More information about the Chameleon mailing list