Hey all, I want a low-interference approach to adding CSS class attributes to form components and their labels when they have associated errors. Igor's * Cookbook* suggests a behavior, but leaves the automation as something done during page construction. We have too many AJAX modals and panel updates for this to cover everything. Therefore I wrote an IComponentOnBeforeRenderListener that adds temporary behaviors to FormComponents and FormComponentLabels which has me pretty close to nirvana. However, the problem remains of getting the form components (or at least the form) added to AjaxRequestTargets. It seems like I want an application-level form submit listener, but I'm not sure how to approach that.
Any suggestions or criticisms? This would be awesome for us to get working. Dan
