(self, REQUEST, title, pdf_stylesheet)
return self.formSettings(manage_tabs_message=message)
Change title and pdf_stylesheet.
Change title and pdf_stylesheet.
Change title and pdf_stylesheet .
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)
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 )