All,
I know this question has been asked before, but I couldn't find the answer in the
archive.
I would like to be able to selectively display an error, depending on what exactly it
was. Here is the code from my validate method in my VacationFinderForm:
if (retCal.before(depCal))
James,
For 1.1, you might try something like:
logic:messagesPresent property=returningMonthError
tr
td colspan=2
html:errors property=returningMonthError/
/td
/tr
/logic:messagesPresent
Quoting James Childers [EMAIL PROTECTED]:
All,
I know this question has been asked
Kris,
Unfortunately we are limited to using 1.0.2. Thanks for the suggestion, though.
-= J
-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 19, 2002 10:40 AM
To: Struts Users Mailing List
Subject: Re: Selective error message display
-Original Message-
From: Kris Schneider [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 19, 2002 10:40 AM
To: Struts Users Mailing List
Subject: Re: Selective error message display
James,
For 1.1, you might try something like:
logic:messagesPresent property
4 matches
Mail list logo