Package gavo :: Package web :: Module weberrors :: Class NotFoundPage
[frames] | no frames]

Class NotFoundPage

source code

                   object --+                
                            |                
       nevow.rend.DataFactory --+            
                                |            
                   object --+   |            
                            |   |            
     nevow.rend.RenderFactory --+            
                                |            
                   object --+   |            
                            |   |            
      nevow.rend.MacroFactory --+            
                                |            
                   object --+   |            
                            |   |            
 nevow.rend.ConfigurableMixin --+            
                                |            
              nevow.rend.Fragment --+        
                                    |        
   nevow.rend.ConfigurableFactory --+        
                                    |        
nevow.rend.FreeformChildMixin --+   |        
                                |   |        
      nevow.rend.ChildLookupMixin --+        
                                    |        
                      nevow.rend.Page --+    
                                        |    
                           object --+   |    
                                    |   |    
               common.CommonRenderers --+    
                                        |    
                                ErrorPage --+
                                            |
                                           NotFoundPage
Known Subclasses:

Nested Classes
  handles
raised to generate an HTTP 404 response.
Instance Methods
 
renderHTTP_notFound(self, ctx) source code

Inherited from ErrorPage: __init__, data_message, data_status, renderHTTP, render_afterMessage, render_beforeMessage, render_footer, render_hint, render_message, render_rdlink, render_titlemessage

Inherited from nevow.rend.Page: __provides__, child_, flattenFactory, onPostFailure, onPostSuccess, rememberStuff, renderString, renderSynchronously, webFormPost

Inherited from nevow.rend.Fragment: get, remember, rend

Inherited from nevow.rend.DataFactory: __providedBy__, child

Inherited from nevow.rend.RenderFactory: render_data, render_mapping, render_sequence, render_string, render_xml, renderer

Inherited from nevow.rend.MacroFactory: macro

Inherited from nevow.rend.ConfigurableMixin: getBinding, getBindingNames, getDefault, postForm

Inherited from common.CommonRenderers: render_commonhead, render_getconfig, render_rootlink, render_unicode, render_urlescape

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Inherited from nevow.rend.ConfigurableFactory: configurable_, configurable_original, locateConfigurable

Inherited from nevow.rend.ChildLookupMixin: childFactory, locateChild, putChild

Inherited from nevow.rend.FreeformChildMixin: child_freeform_hand

Class Variables
  status = 404
  titleMessage = 'Not Found'
  beforeMessage = 'We\'re sorry, but the resource you requested ...
  afterMessage = [Tag('p', children=['If this message resulted f...

Inherited from ErrorPage: docFactory

Inherited from nevow.rend.Page: __implemented__, addSlash, afterRender, beforeRender, buffered

Inherited from nevow.rend.Fragment: original

Inherited from nevow.rend.ChildLookupMixin: children

Properties

Inherited from object: __class__

Class Variable Details

beforeMessage

Value:
'We\'re sorry, but the resource you requested could not be located.'

afterMessage

Value:
[Tag('p', children=['If this message resulted from following a link fr\
om ', Tag('strong', children=['within the data center']), ', you have \
discovered a bug, and we would be extremely grateful if you could noti\
fy us.']),
 Tag('p', children=['If you got here following an ', Tag('strong', chi\
ldren=['external link']), ', we would be grateful for a notification a\
s well.  We will ask the external operators to fix their links or prov\
ide redirects as appropriate.']),
...