1.1 --- a/examples/Common/Configurator/__init__.py Fri Jan 27 00:41:33 2006 +0000
1.2 +++ b/examples/Common/Configurator/__init__.py Fri Jan 27 00:42:39 2006 +0000
1.3 @@ -58,7 +58,10 @@
1.4 in_page_resource = self.get_in_page_resource(trans)
1.5 parameters = form.get_parameters()
1.6 documents = form.get_documents()
1.7 - selectors = form.get_selectors()
1.8 +
1.9 + # Creating selected elements.
1.10 +
1.11 + selectors = form.get_selectors(create=1)
1.12
1.13 # Ensure the presence of a document.
1.14
1.15 @@ -130,7 +133,8 @@
1.16
1.17 #from XSLTools import XSLOutput
1.18 #import sys
1.19 - #proc = XSLOutput.Processor([trans_xsl], parameters=stylesheet_parameters)
1.20 + #proc = XSLOutput.Processor([trans_xsl], parameters=stylesheet_parameters,
1.21 + # references={"translations" : self.prepare_document("translations")})
1.22 #proc.send_output(sys.stderr, "iso-8859-1", configuration)
1.23
1.24 # Site map initialisation.