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
Re: Limited Time
What I actually meant was to have a getter and setter for your VRContext, and let OGNL set the properties for you (be it that there might be some limitations). What do you mean by "it's just a map" ? Do you mean you have a Map property in your VRContext object ? Or do you extend it ? If you extend it, you might have to rely on type conversion to get the values set correctly - I know, this can be tricky.
Well, the validation can be field based - but you can just as well do any validation you want (eg. checking if a user isn't posting twice in 10 seconds, see if a user belongs to a certain user group, or check if the weather forecast is 'sunny and hot' - you get the point), except these last checks will be actionErrors rather than fieldErrors.
Using Groovy actions with S2 is a very good idea, and something I plan on doing as well. Keep those Struts 2 entries coming ! ;-)