Hi, you've reached the website of Mark Menard, Freemason, developer, businessman, photographer, motorcyclist and all around nice guy.
The main joy in my life is Sylva, my loving partner and friend. (You will see plenty of pictures of her. Also check out our site.) My professonal career is running a consulting firm concentrating on business automation and custom software. I enjoy software development, motorcycles, photography, dancing, freemasonry and travel.
Here you will find galleries of my latest photos, thoughts on software development, freemasonry, the occassional politics, and other things. Enjoy your time here.
Mark
An ongoing photographic study of Freemasonry.
To contact Mark send an email to mark@mjm.net. You will receive an auto response from my mail server to verify you're not a spammer.
© Mark Menard 2002-2007
Struts 2 Theme vs. CSS
Well, the Struts 2 theme really isn't a replacement for CSS, nor is CSS a replacement for the Struts 2 theme.
The Struts 2 theme is a way of customizing the markup emitted from a template engine (JSP). CSS is a way of styling said markup in the rendering engine (the browser).
Basically creating a theme in S2 just allows you to control the markup that is emitted from the S2 tag library. In my case I wanted the standard tags, which by default do a two column tabled layout of form elements, to emit a variable column width tabled layout.
So, in reply I would say that you can't accomplish the real end result without both the S2 theme, and a CSS style sheet, which combined get you to a final appearance, or what most might think of as a theme, in your browser.
Which raises an issue of terms. A S2 theme really isn't about how the markup should be styled, but what markup is going to be generated.
Mark