[Twisted-web] data="../foo", or, how to prevent adding IData
to centxt
Christopher Armstrong
twisted-web@twistedmatrix.com
Thu, 11 Dec 2003 12:13:27 -0500
Donovan Preston wrote:
(btw, I think you composed in HTML mode or something, and your code
snippet lost its indentation)
> def render_select(self, ctx, data):
> try:
> rv = ctx.keyed(data)
> except context.NodeNotFound:
> rv = ctx.keyed('else')
> return rv(data=ctx.locate(IData, depth=2))
So others know, this isn't working. DP and I are working on fixing it...
--
Twisted | Christopher Armstrong: International Man of Twistery
Radix | Release Manager, Twisted Project
---------+ http://radix.twistedmatrix.com/