[S2]How can I get red error messages?

2008-09-09 Thread Ylva Degerfeldt
Hello, Struts users! I'm just wondering how to make my error messages (specifically the ones that Struts 2 generates) red, because currently they're not. Isn't there some default css file I can use or do I have to create one? And how do I use it in my jsp:s? (I know nothing about css.) I

Re: [S2]How can I get red error messages?

2008-09-09 Thread Dave Newton
--- On Tue, 9/9/08, Ylva Degerfeldt wrote: I'm just wondering how to make my error messages (specifically the ones that Struts 2 generates) red, because currently they're not. Are you using the s:head/ tag tat includes the default Struts CSS? Dave

Re: [S2]How can I get red error messages?

2008-09-09 Thread Ylva Degerfeldt
No, that was it! I wasn't using the s:head tag, but I am now. Thank you, Dave! Just out of curiosity.. If I would want to change these default style settings, where could I find the file that I need to edit? /Ylva On Tue, Sep 9, 2008 at 8:10 PM, Dave Newton [EMAIL PROTECTED] wrote: --- On

Re: [S2]How can I get red error messages?

2008-09-09 Thread Dave Newton
--- On Tue, 9/9/08, Ylva Degerfeldt wrote: Just out of curiosity.. If I would want to change these default style settings, where could I find the file that I need to edit? It'd be easier to just include your own stylesheet after the s:head tag and overwrite the styles. Dave

Re: [S2]How can I get red error messages?

2008-09-09 Thread Pascal Lalonde
Didn't I read somewhere that one of the good practices was to copy the template folder in the project WEB-INF folder ? If this is true, then just directly edit the style sheet of the theme ? - Pascal Dave Newton wrote: --- On Tue, 9/9/08, Ylva Degerfeldt wrote: Just out of curiosity.. If

Re: [S2]How can I get red error messages?

2008-09-09 Thread Ylva Degerfeldt
It'd be easier to just include your own stylesheet after the s:head tag and overwrite the styles. Alright. Good to know. But that's for some time in the future when I have more time - investigation. Thanks! /Ylva - To

Re: [S2]How can I get red error messages?

2008-09-09 Thread Dave Newton
--- On Tue, 9/9/08, Pascal Lalonde wrote: Didn't I read somewhere that one of the good practices was to copy the template folder in the project WEB-INF folder? If this is true, then just directly edit the style sheet of the theme? Overwriting the styles is still easier. The template issue