~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to www/dispatch/request.py

  • Committer: mattgiuca
  • Date: 2008-06-23 11:38:50 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:788
fileservice_lib: Fixed and made consistent the error message if a file already
    exists, across all actions. (Previously 3 different messages).

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
            in the head, if write_html_head_foot is True.
81
81
            URLs should be relative to the IVLE root; they will be fixed up
82
82
            to be site-relative.
83
 
        scripts_init (write)
84
 
            List of strings. Write a list of JS function names, and they
85
 
            will be added as window.addListener('load', ..., false); calls
86
 
            in the head, if write_html_head_foot is True.
87
 
            This is the propper way to specify functions that need to run at 
88
 
            page load time.
89
83
        write_html_head_foot (write)
90
84
            Boolean. If True, dispatch assumes that this is an XHTML page, and
91
85
            will immediately write a full HTML head, open the body element,
201
195
        self.title = None     # Will be set by dispatch before passing to app
202
196
        self.styles = []
203
197
        self.scripts = []
204
 
        self.scripts_init = []
205
198
        self.write_html_head_foot = False
206
199
        self.got_common_vars = False
207
200