I have a form containing 2 RichFaces calendar components. When a user changes the start date, I want to default the end date to equal the start date. Both calendar linked to Java Beans.
I think there's also a way to use validators to limit the end date range, but I'd have to RTFM.
The secret of how to be miserable is to constantly expect things are going to happen the way that they are "supposed" to happen.
You can have faith, which carries the understanding that you may be disappointed. Then there's being a willfully-blind idiot, which virtually guarantees it.
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.