[Twisted-web] Parametrized data_foo method?

Sridhar Ratna aka Srid sridharinfinity at gmail.com
Sun Feb 13 04:55:19 MST 2005


<n:invisible data="foo" ....

I would like to pass custom argument to data_foo depending the usage
in xml templates.  Is this possible?

Another question ...

        <div n:data="foo">
            <h2>
                <n:invisible n:data="title" n:render="post_title"/>
            </h2>

data_foo returns a dictionary say {"title":... "name": ... }

Here how to access the "name" dict item from render_post_title?

-- 
Sridhar Ratna - http://srid.bsdnerds.org



More information about the Twisted-web mailing list