struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wo_shi_ni_ba_ba <wo_shi_ni_ba...@yahoo.com>
Subject error message and validation
Date Sat, 12 Mar 2005 00:35:38 GMT
I know that by default if I specify 
errors.required = {0} is required in the message
resource
, struts validator will use this message for missing
parameter that is required.  But what if I want to
have very different error msgs for different missing
parameters? can this be done? 
for example, if param1 is missing, i want to say
"param1 is required".  But if param2 is missing, I
want to say "please refresh your page".
can this be done?
thanks in advance


		
__________________________________ 
Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site!
http://smallbusiness.yahoo.com/resources/ 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message