Magritte Validations

Lukas Renggli renggli at iam.unibe.ch
Sat Nov 4 09:39:18 MET 2006


> Any chance you know or where to hook Magritte to customize the  
> output of the errors.  Required Errors for example, if I don't like  
> the default message, can I change it?  What if I want the errors to  
> show beside the fiels of the error, is that possible?

Yes, this is easily possible, we have a few applications that  
highlights the field with the error and puts the error message next  
to it. To achieve the desired effect you have to create you own form  
renderer by subclassing MAComponentRenderer or one of its subclasses.

Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch




More information about the SmallWiki mailing list