Visualizing Validation Errors next to Components that cause them

Lukas Renggli renggli at gmail.com
Tue Apr 14 17:19:50 MEST 2009


> is there anyway to visualize errors next the components that caused them?

Sure. The default renderer MATableRenderer adds the class '.error' to
the element, so that you can highlight the validation errors using CSS
styles.

I assume that you also want to display the error message somewhere
close-by? In this case you have to implement your own renderer and
assign it to the container description (see the reference to
MATableRenderer).

Cheers,
Lukas

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


More information about the smallwiki mailing list