1.1 --- a/examples/Common/Configurator/__init__.py Mon May 02 22:49:52 2005 +0000
1.2 +++ b/examples/Common/Configurator/__init__.py Mon May 02 22:50:37 2005 +0000
1.3 @@ -111,9 +111,15 @@
1.4 template_xml = os.path.join(self.resource_dir, "config_template.xhtml")
1.5 XSLForms.Prepare.make_stylesheet(template_xml, trans_xsl)
1.6
1.7 + # Define the parameters.
1.8 +
1.9 + parameters = {
1.10 + "application-url" : "http://%s:%s%s" % (trans.get_server_name(), trans.get_server_port(), trans.get_path_without_query())
1.11 + }
1.12 +
1.13 # Complete the response.
1.14
1.15 - proc = XSLOutput.Processor([trans_xsl])
1.16 + proc = XSLOutput.Processor([trans_xsl], parameters=parameters)
1.17 proc.send_output(trans.get_response_stream(), trans.get_response_stream_encoding(),
1.18 configuration)
1.19