thanks.

Yes, I like to build the schema in python code as it looks cleaner to
my eye.

I would rather prefer a way to turn a schema into a presentation. Say
if I have field that is string with only 3 valid choice, make that into
a radio button or dropdown.

This way, when I drop the valid choice in schema(because of whatever
change say turns into a google suggest instead of preset choice), it
becomes a normal text field which I can put in another attribute and
some mochikit/dojo front end turn it into a google suggest field.

Ian Bicking wrote:
>
> FYI, the attributes that Subway is using (form:validate, etc) are parsed
> out into a FormEncode schema (using formencode.htmlfill_schemabuilder).
>  The schemas you can represent inline in the form like this aren't
> nearly as general or flexible as schemas written in Python code, but
> they aren't too bad.  Anyway, the result is that there is a pretty clear
> path from these schemas to something more formalized and separated from
> presentation.
>
> --
> Ian Bicking  |  [EMAIL PROTECTED]  |  http://blog.ianbicking.org

Reply via email to