Table of Contents

Module: widgets Twisted-0.17.4/twisted/web/widgets.py
Imported modules   
from cStringIO import StringIO
import copy
import error
import html
import linecache
import os
import pprint
import re
import resource
from server import NOT_DONE_YET
import static
import string
import sys
import time
import traceback
from twisted.protocols import http
from twisted.python import defer, failure, log, rebuild, reflect, util
import types
Functions   
_ellipsize
formatFailure
htmlDict
htmlFor_checkbox
htmlFor_checkgroup
htmlFor_file
htmlFor_hidden
htmlFor_menu
htmlFor_multimenu
htmlFor_password
htmlFor_string
htmlFor_text
htmlInst
htmlList
htmlString
htmlUnknown
htmlrepr
listify
possiblyDeferWidget
  _ellipsize 
_ellipsize ( x )

  formatFailure 
formatFailure ( myFailure )

  htmlDict 
htmlDict ( d )

  htmlFor_checkbox 
htmlFor_checkbox (
        write,
        name,
        value,
        )

A checkbox.

  htmlFor_checkgroup 
htmlFor_checkgroup (
        write,
        name,
        value,
        )

A check-group.

  htmlFor_file 
htmlFor_file (
        write,
        name,
        value,
        )

  htmlFor_hidden 
htmlFor_hidden (
        write,
        name,
        value,
        )

  htmlFor_menu 
htmlFor_menu (
        write,
        name,
        value,
        allowMultiple=False,
        )

Value of the format [(optionName, displayName[, selected]), ...]

  htmlFor_multimenu 
htmlFor_multimenu (
        write,
        name,
        value,
        )

Value of the format [(optionName, displayName[, selected]), ...]

  htmlFor_password 
htmlFor_password (
        write,
        name,
        value,
        )

  htmlFor_string 
htmlFor_string (
        write,
        name,
        value,
        )

  htmlFor_text 
htmlFor_text (
        write,
        name,
        value,
        )

  htmlInst 
htmlInst ( i )

  htmlList 
htmlList ( l )

  htmlString 
htmlString ( s )

  htmlUnknown 
htmlUnknown ( x )

  htmlrepr 
htmlrepr ( x )

  listify 
listify ( x )

  possiblyDeferWidget 
possiblyDeferWidget ( widget,  request )

Classes   
Container
DataWidget
Form

I am a web form.

FormInputError
Gadget

I am a collection of Widgets, to be rendered through a Page Factory.

Page
Presentation

I am a widget which formats a template with interspersed python expressions.

Reloader
RenderSession

I handle rendering of a list of deferreds, outputting their

Sidebar
StreamWidget

A streamable component of a webpage.

Time
TitleBox
Widget

A component of a web page.

WidgetMixin

A mix-in wrapper for a Widget.

WidgetPage

I am a Page that takes a Widget in its constructor, and displays that

WidgetResource
_RequestDeferral

Table of Contents

This document was automatically generated on Sat Apr 20 01:31:53 2002 by HappyDoc version 2.0