On 10/6/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> >> BTW2, does anyone know how I can use the schema provided in
> >>formencode with dict ?
>
> >I'm not sure I understand the question...?
>
> oops, typo.
>
> I mean I want to define a schema as mentioned in the formencode doc
> then pass it to turbogears.expose, instead of a dictionary of fields to
> validate.

In TurboGears 0.8 (the current trunk), you can say validators=yourSchema

Kevin

--
Kevin Dangoor
Author of the Zesty News RSS newsreader

email: [EMAIL PROTECTED]
company: http://www.BlazingThings.com
blog: http://www.BlueSkyOnMars.com

Reply via email to