Re: How to compare two dates in validation.xml?

Philip Luppens <[email protected]> Thu, 07 Dec 2006 02:56:02 CST
Newsgroups gmane.comp.java.open-symphony.webwork
Message-ID <3088346.1165481794843.JavaMail.os-j2ee@opensymphony01.managed.contegix.com>
I believe there's a date field-validator as well.
If you want to use expressions, .. the java.util.Date class has a before and an after method.
[code]
datelasteditedto.before(datelasteditedfrom)
[/code]
Should work.
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.opensymphony.com/thread.jspa?threadID=52363&messageID=105673#105673

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]