Trees | Index | Help |
---|
Package XSLForms :: Package Resources :: Module PyQtWebResources :: Class XSLFormsResource |
|
CommonResource
--+ |PyQtCommonResource
--+ |CommonResource
--+ | | |XSLFormsResource
--+ | XSLFormsResource
An XSLForms resource supporting PyQt-compatible Web applications for use with WebStack.
Method Summary | |
---|---|
__init__(self,
design_identifier)
| |
child(self,
name)
| |
Initialise a newly-created form. | |
Populate the values in a form. | |
Refresh the form. | |
Return a DOM-style document retrieved using the given 'document_identifier'. | |
Prepare the output stylesheets using the given 'design_identifier' to indicate which templates and stylesheets are to be employed in the production of output from the resource. | |
prepare_widget(self,
design_identifier,
widget_identifier,
parent)
| |
Request a refresh of the form. | |
Respond to the request described by the given transaction 'trans', using the given 'form' object to conveniently retrieve field (request parameter) information and structured form information (as DOM-style XML documents). | |
sender(self)
| |
Inherited from XSLFormsResource | |
Workaround stray zero value characters from Konqueror in XMLHttpRequest communications. | |
Return the in-page resource being referred to in the given transaction 'trans'. | |
Get the result of applying a transformation using stylesheets with the given 'stylesheet_filenames', the 'document' upon which the result will be based, the optional parameters as defined in the 'stylesheet_parameters' dictionary, the optional parameters as defined in the 'stylesheet_parameters' dictionary and the optional 'references' to external documents. | |
Prepare the output stylesheets for the given 'fragment_identifier', indicating which templates and stylesheets are to be employed in the production of output from the resource. | |
Prepare an initialiser/input transformation using the given 'input_identifier'. | |
Prepare the stylesheet parameters from the given request 'parameters'. | |
Prepare a transformation using the given 'transform_identifier'. | |
Respond to the request described by the given transaction 'trans'. | |
Send the output from the resource to the user employing the transaction 'trans', stylesheets having the given 'stylesheet_filenames', the 'document' upon which the output will be based, the optional parameters as defined in the 'stylesheet_parameters' dictionary, the optional expressions are defined in the 'stylesheet_expressions' dictionary, and the optional 'references' to external documents. | |
Inherited from PyQtCommonResource | |
| |
Populate the given 'field' using a list of DOM 'elements'. | |
| |
Empty the given collection 'field'. | |
Inherited from CommonResource | |
Prepare a document using the given 'document_identifier'. |
Class Variable Summary | |
---|---|
dict |
widget_resources = {}
|
Inherited from XSLFormsResource | |
str |
encoding = 'utf-8'
|
dict |
in_page_resources = {}
|
dict |
init_resources = {}
|
str |
path_encoding = 'utf-8'
|
dict |
template_resources = {}
|
dict |
transform_resources = {}
|
Inherited from PyQtCommonResource | |
dict |
design_resources = {}
|
Inherited from CommonResource | |
dict |
document_resources = {}
|
NoneType |
resource_dir = None |
Method Details |
---|
form_init(self)Initialise a newly-created form. |
form_populate(self)Populate the values in a form. |
form_refresh(self)Refresh the form. |
get_document(self, document_identifier)Return a DOM-style document retrieved using the given 'document_identifier'. Each implementation is free to choose its own DOM library.
|
prepare_output(self, design_identifier)Prepare the output stylesheets using the given 'design_identifier' to indicate which templates and stylesheets are to be employed in the production of output from the resource. The 'design_identifier' is used as a key to the 'design_resources' and 'template_resources' dictionary attributes. Return the full path to the output stylesheet for use with 'send_output' or 'get_result'. |
request_refresh(self, *args, **kw)Request a refresh of the form. |
respond_to_form(self, trans, form)Respond to the request described by the given transaction 'trans', using the given 'form' object to conveniently retrieve field (request parameter) information and structured form information (as DOM-style XML documents). |
Class Variable Details |
---|
widget_resources
|
Trees | Index | Help |
---|
Generated by Epydoc 2.1 on Wed Jan 10 23:02:11 2007 | http://epydoc.sf.net |