1.1 --- a/XSLForms/Resources.py Thu Jul 14 22:25:11 2005 +0000
1.2 +++ b/XSLForms/Resources.py Thu Jul 14 22:52:50 2005 +0000
1.3 @@ -106,13 +106,13 @@
1.4 XSLForms.Prepare.ensure_stylesheet_fragment(output_path, fragment_path, node_identifier)
1.5 return fragment_path
1.6
1.7 - def send_output(self, trans, stylesheet_filenames, stylesheet_parameters, document):
1.8 + def send_output(self, trans, stylesheet_filenames, document, stylesheet_parameters=None):
1.9
1.10 """
1.11 Send the output from the resource to the user employing the transaction
1.12 - 'trans', stylesheets having the given 'stylesheet_filenames', parameters
1.13 - as defined in the 'stylesheet_parameters' dictionary, and the 'document'
1.14 - upon which the output will be based.
1.15 + 'trans', stylesheets having the given 'stylesheet_filenames', the
1.16 + 'document' upon which the output will be based, and the optional
1.17 + parameters as defined in the 'stylesheet_parameters' dictionary.
1.18 """
1.19
1.20 proc = XSLOutput.Processor(stylesheet_filenames, parameters=stylesheet_parameters)