parameters: (self, REQUEST, title, pdf_stylesheet)
return_statement: return self.formSettings(manage_tabs_message=message)
docstring: Change title and pdf_stylesheet.
docstring_summary: Change title and pdf_stylesheet.
docstring_tokens: Change title and pdf_stylesheet .
function: def doSettings(self, REQUEST, title, pdf_stylesheet):
        """
          Change title and pdf_stylesheet.
        """
        if SUPPORTS_WEBDAV_LOCKS and self.wl_isLocked():
          raise ResourceLockedError("File is locked via WebDAV")
        self.pdf_stylesheet = pdf_stylesheet
        self.pt_setTitle(title)
        #REQUEST.set('text', self.read()) # May not equal 'text'!
        message = "Saved changes."
        if getattr(self, '_v_warnings', None):
          message = ("<strong>Warning:</strong> <i>%s</i>"
                    % '<br>'.join(self._v_warnings))
        return self.formSettings(manage_tabs_message=message)
function_tokens: def doSettings ( self , REQUEST , title , pdf_stylesheet ) : if SUPPORTS_WEBDAV_LOCKS and self . wl_isLocked ( ) : raise ResourceLockedError ( "File is locked via WebDAV" ) self . pdf_stylesheet = pdf_stylesheet self . pt_setTitle ( title ) #REQUEST.set('text', self.read()) # May not equal 'text'! message = "Saved changes." if getattr ( self , '_v_warnings' , None ) : message = ( "<strong>Warning:</strong> <i>%s</i>" % '<br>' . join ( self . _v_warnings ) ) return self . formSettings ( manage_tabs_message = message )