alexis BOISSONNAT alexis.boissonnat@... writes:
Hi Rolf,
You can try something like that :
div class=control-group
${empty(actionBean.context.validationErrors[YourInputName]) ? '' : 'error'}
Which will add the 'error' class if any error occurs on YourInputName.
Cheers,
Hi Rolf,
You can easily wrap this into a custom JSP tag if you want to stay DRY...
Cheers
Remi
2012/3/26 Rolf r.su...@minihouse.eu
alexis BOISSONNAT alexis.boissonnat@... writes:
Hi Rolf,
You can try something like that :
div class=control-group