[Twisted-Python] Question about resources (and woven?)

Donovan Preston dp at twistedmatrix.com
Wed Oct 16 11:37:56 EDT 2002

On Wednesday, October 16, 2002, at 01:42 AM, Martin Sjögren wrote:
> This all lives in a submodel called 'editor'. When I submit this form, 
> I
> get the following request.args:
> {'quote': ['this is a quote'], 'editor/sentby': ['my name'],
> 'editor/comment': ['this is a comment'], 'language': ['Swedish']}
> My question is: Why the 'editor/' part in sentby and comment, but not
> quote and language?

Because sentby and comment have view="Input"; the Input widgets set the 
name attribute to the full path of the submodel. Since the other view 
widgets don't do this, it's not happening on those nodes.

>  Why is it using 'sentby' instead of 'name' (which is
> the id and name settings of the input)?

Because the model attribute is "sentby"...

More information about the Twisted-Python mailing list