On 1/18/06, Michele Cella <[EMAIL PROTECTED]> wrote:
>
> I guess my idea of using py:match to define widgets attributes in a kid
> template it's not thread safe then. :-(

There are ways to do just about anything in a threadsafe manner.

> This is what I had in mind:
>
> in master.kid (dumb namings):
>
> <attr widget="form.name" size="10" ... />
>
> this should be matched on the sitetemplate, and will result in
> something like this (at kid render time):
>
> form.name.attrs = (dict constructed by iterating over attr value pairs)
>
> in this way you can define attributes to be applied to every widget
> instance on every page that extends master.kid or on single template
> basis.

I'm not following this. Are you saying you include a tag for each
widget and it gets expanded out at render time?

Kevin

Reply via email to