struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "White, Joshua A (HTSC, CASD)" <Joshua.Wh...@thehartford.com>
Subject How to create action error with two keys?
Date Fri, 25 Jul 2003 16:35:46 GMT
Say I have the following items in my message properties file.


label.name=Your Name
errors.required=<li>{0} is required.</li>


What is the simplest way for me to end up with "Your Name is required."

The constructor takes a key and a value.  What if you have two keys?  

ActionError(java.lang.String key, java.lang.Object[] values)


Thanks,

Joshua


This communication, including attachments, is for the exclusive use of 
addressee and may contain proprietary, confidential or privileged 
information. If you are not the intended recipient, any use, copying, 
disclosure, dissemination or distribution is strictly prohibited. If 
you are not the intended recipient, please notify the sender 
immediately by return email and delete this communication and destroy all copies.


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


Mime
View raw message