| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
HTMLFormFiller
A stream filter that can populate HTML forms from a dictionary of values.
>>> from genshi.input import HTML >>> html = HTML('''<form> ... <p><input type="text" name="foo" /></p> ... </form>''') >>> filler = HTMLFormFiller(data={'foo': 'bar'}) >>> print(html | filler) <form> <p><input type="text" name="foo" value="bar"/></p> </form>
| Instance Methods | |||
|
|||
|
|||
|
Inherited from |
|||
| Properties | |
|
Inherited from |
| Method Details |
Note:
Changed in 0.5.2: added the |
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Apr 22 14:10:36 2010 | http://epydoc.sourceforge.net |