Re: errorStyleClass with ActionMessages

2005-10-17 Thread Niall Pemberton
It should be straight forward - there are only two things you need to do: 1) Sore you ActionMessages under the standard struts "error" key - which if your using (or ) you probably are already doing anyway. If you're doing your validation in the ActionForm's validate method then this happens autom

Re: errorStyleClass with ActionMessages

2005-10-17 Thread Joe Germuska
At 3:26 PM +0100 10/17/05, [EMAIL PROTECTED] wrote: Hi there, I would like to make use of the errorStyleClass functionality with validation errors that I create in my action class using ActionMessages. I guess there must be a way of letting the ActionMessage object know which UI field it is re

errorStyleClass with ActionMessages

2005-10-17 Thread paul
Hi there, I would like to make use of the errorStyleClass functionality with validation errors that I create in my action class using ActionMessages. I guess there must be a way of letting the ActionMessage object know which UI field it is relating to. Has anyone managed to do this without c