> I did, and it doesn't work, when I click submit, I immediately get a red
> message next to the required fields...but not next to the date.

That strange, I made a test and it works, I've annotated at setter level

    @RequiredFieldValidator(message = "Date is required")
    public Date getToday() {
        return today;
    }

    public void setToday(Date today) {
        this.today = today;
    }


<s:textfield label="Today" name="today" />


Regards
-- 
Lukasz
http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to