htmlfill question

Jonathan Vanasco <[email protected]> Sat, 4 Feb 2012 15:11:04 -0500
Newsgroups gmane.comp.python.formencode
Message-ID <[email protected]>
i'm a little confused by htmlfill's behavior on this.

Given a form like this:
     <form:error name="Error_Main"/>
     <input id="login-email_address" name="email_address" placeholder="Email Address" size="30" type="text" />
     <input id="login-password" name="password" placeholder="Password" size="30" type="password" />

and a call to htmlfill with this:
    formencode.htmlfill.render(\
            form_content,
            defaults=defaults,
            errors=errors, 
            auto_error_formatter=custom_formatter
    )

My output is essentially this:
	Error Main -- rendered with default formatter
	email_address -- rendered with custom formatter
	password  -- rendered with custom formatter

anyone have an idea to get the Error_Main section to render with the custom formatter along with the other fields  (aside from specifying a custom renderer in the field and passing in a dict )?
------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2