On Tue, Jul 15, 2008 at 4:44 PM, Jonathan Vanasco <[EMAIL PROTECTED]> wrote:

> 3- it 'validates' but doesn't gatekeep - which is weird.  in most
> situations you need to do something like "if not hasattr( c,
> 'form_result'): cause some error" at the beginning of each line.

I've been using self.form_result["varname"] without problem.

> there are a few different options floating around, and people have
> been working on patching/fixing the formencode/htmfill support.  i
> think there's hope in the future, but IMHO , for now I wouldn't
> recommend anything.

Ticket #405 looks promising
http://pylonshq.com/project/pylonshq/ticket/405

When I have time I want to try implementing it in my application,
because it gets frustrating to put so much controller code in the
validator or not be able to report errors because of the @validate
limitations.

-- 
Mike Orr <[EMAIL PROTECTED]>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to