Module pyweb :: Class http
[show private | hide private]
[frames | no frames]

Class http

webwidget --+    
            |    
         html --+
                |
    httpMixin --+
                |
               http


Implements a session-ready http tag class, derived from class html
Method Summary
  __init__(self, *args, **kw)
    Inherited from httpMixin
  __setattr__(self, name, val)
  disableCookies(self)
  dump(self)
  renderinto(self, bucket)
  send(self)
  send1(self)
  setstream(self, stream)
    Inherited from html
  __getattr__(self, name)
  add(self, *items, **kw)
Add content to a widget.
  addglobal(self, name, item)
  render(self)
Recursively collate all the content, and content within the content, into one array of string fragments
    Inherited from webwidget
  __getitem__(self, name)
  __len__(self)
  __nonzero__(self)
  __repr__(self)
  __setitem__(self, name, val)
Used with templates.
  __str__(self)
  addnamed(self, name, *item, **kw)
Adds a named item in the scope of the current tag
  attrdump(self)
Returns a space-separated list of the widget's tag attribs
  attrdumpinto(self, bucket)
renders the tag attributes into the bucket
  attrToStdout(self)
Returns a space-separated list of the widget's tag attribs
  dontWrap(self)
Stops this tag from being enclosed in tags
  join(self, args)
What a weird yet consummately pythonic method! Read on...
  set(self, *items)
Replaces widget's contents with given items
  setattr(self, *args, **kw)
Sets attributes of this widget

Class Variable Summary
    Inherited from html
str dtd = '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final...
    Inherited from webwidget
str delimiter = '\n'
bool notagclose = False

Generated by Epydoc 2.0 on Sat Feb 7 20:08:05 2004 http://epydoc.sf.net