;ò ÏDc @ s¦ d k l Z d k l Z d k l Z d k l Z d k l Z d k l Z d k l Z e i d ƒ i ƒ Z d e i f d „ ƒ YZ d e i f d „ ƒ YZ d S( ( s implements( s rend( s url( s loaders( s tags( s annotate( s webforms§
s ISomethingc B s_ t Z e i ƒ e i d e d d ƒ e i d d ƒ e i ƒ e i ƒ d „ Z e i e ƒ Z RS( Ns requireds descriptions Wee!s Tra-la-lac C s d S( sÿ Do Something Really Exciting Normally you would put a useful description of the interface here but, since the inteface is useless anyway, I cannot think of anything useful to say about it. Although ... did I mention it is useless?N( ( s ctxs fees fis fos fum( ( sS /mnt/gmirror/ports/www/py-nevow/work/Nevow-0.9.18/examples/customform/customform.pys doSomethingm s ( s __name__s __module__s annotates Contexts Strings Trues Integers Texts doSomethings autocallable( ( ( sS /mnt/gmirror/ports/www/py-nevow/work/Nevow-0.9.18/examples/customform/customform.pys ISomethingk s Hs Rootc B s· t Z d Z e e ƒ e Z e i Z d „ Z d „ Z d „ Z e i e i e i e i d e i d d d d d e i i d ƒ ƒ f e i e i d e e i d e f f ƒ Z RS( s7 Render a custom and normal form for an ISomething. c C s t i ƒ Sd S( N( s webforms renderForms( s selfs ctxs data( ( sS /mnt/gmirror/ports/www/py-nevow/work/Nevow-0.9.18/examples/customform/customform.pys render_normalForm„ s c C s t i ƒ t Sd S( N( s webforms renderFormss FORM_LAYOUT( s selfs ctxs data( ( sS /mnt/gmirror/ports/www/py-nevow/work/Nevow-0.9.18/examples/customform/customform.pys render_customForm‡ s c K s d G| GHd S( Ns ***** doSomething called with:( s kwargs( s selfs ctxs kwargs( ( sS /mnt/gmirror/ports/www/py-nevow/work/Nevow-0.9.18/examples/customform/customform.pys doSomethingŠ s s Example :: Custom Form Layouts rels stylesheets types text/csss hrefs webform_csss Customs Default( s __name__s __module__s __doc__s implementss ISomethings Trues addSlashs webforms defaultCSSs child_webform_csss render_normalForms render_customForms doSomethings loaderss stans Ts htmls heads titles links urls heres childs bodys h1s docFactory( ( ( sS /mnt/gmirror/ports/www/py-nevow/work/Nevow-0.9.18/examples/customform/customform.pys Root| s N( s zope.interfaces implementss nevows rends urls loaderss tagss Ts formlesss annotates webforms xmlstrs loads FORM_LAYOUTs TypedInterfaces ISomethings Pages Root( s implementss FORM_LAYOUTs rends urls loaderss annotates Ts webforms Roots ISomething( ( sS /mnt/gmirror/ports/www/py-nevow/work/Nevow-0.9.18/examples/customform/customform.pys ? s $8