Package web :: Package web :: Module form :: Class Form
[hide private]
[frames] | no frames]

Class Form

source code

HTML form.

>>> f = Form(Textbox("x"))
>>> f.render()
'<table>\n    <tr><th><label for="x">x</label></th><td><input type="text" id="x" name="x"/></td></tr>\n</table>'
Instance Methods [hide private]
 
__init__(self, *inputs, **kw) source code
 
__call__(self, x=None) source code
 
render(self) source code
 
render_css(self) source code
 
rendernote(self, note) source code
 
validates(self, source=None, _validate=True, **kw) source code
 
_validate(self, value) source code
 
fill(self, source=None, **kw) source code
 
__getitem__(self, i) source code
 
__getattr__(self, name) source code
 
get(self, i, default=None) source code
 
_get_d(self) source code
Properties [hide private]
  d
Property Details [hide private]

d

Get Method:
_get_d(self)