Max Ischenko wrote: > Hello, > > On 5/16/07, *Graham Stratton* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > Hi all, > > I see there's discussion about the issues with the @validate decorator > in the tracker. I've come across a few problems myself in the last > few weeks, so hopefully I can contribute here: > > > I have another @validate issue (totally unrelated to the discussion): > > When there are errors and form is redisplayed to the user how the > template can tell it (to display something like "there were errors, > please correct and resubmit")? From what I gather, htmlfill only fills > individual fields' placeholders but there is no form-wide one. Am i > mistaken? If not, why aren't errors passed as c.form_errors or something?
You could put it under the key None or ''. I believe these go at the top of the form, in some fashion, or you can put them someplace specifically with <form:error name=""> -- Ian Bicking | [EMAIL PROTECTED] | http://blog.ianbicking.org | Write code, do good | http://topp.openplans.org/careers --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
