source: TI05-delivery/ows_framework/trunk/ows_server/ows_server/templates/conterra_aggregate.kid @ 3747

Subversion URL:
Revision 3747, 499 bytes checked in by cbyrom, 12 years ago (diff)

Fix Con Terra integration of web client:
Added new template, conterra_xmlconfig.kid to do the creation of
the xmlConfig data to POST.
Changed conterra_aggregate to contain a form which automatically
POSTs a request with the xmlConfig data, when the template is rendered.
Extended selectedItems to include conterra_aggegrage.kid - so that
the selections page is redrawn following a POST to the conterra client.
Also updated the wms_util and WMC python scripts to extract the
required data for the new Con Terra input formats.

1<form name="ConTerraForm" action="" method="post" target="_blank" onsubmit="return window.confirm(&quot;You are submitting information to an external page.\nAre you sure?&quot;);">
3        # Render the data into the correct format for the xmlConfig param
4        import urllib
5        xmlConfig = render('conterra_xmlconfig',fragment=True, format='xml')
7<input type="hidden" name="xmlConfig" value="${xmlConfig}" />
8<button type="submit"> </button>
Note: See TracBrowser for help on using the repository browser.