RE: More than 5 Arguments
Use fmt:message fmt:param tags instead of the Struts tag. If you can;t use JSTL then extend the bean:message tag. Paul -Original Message- From: Bharat Bhushan [mailto:[EMAIL PROTECTED] Sent: Thursday, August 26, 2004 6:02 PM To: Struts Users Mailing List Subject: More than 5 Arguments Hi My question is how to print a message on the page through resource bundle which has more than 5 arguments. bean:message Tag support only 4 arguments. Any help with example will be appreciable. Thanks Bharat ** Axios Email Confidentiality Footer Privileged/Confidential Information may be contained in this message. If you are not the addressee indicated in this message (or responsible for delivery of the message to such person), you may not copy or deliver this message to anyone. In such case, you should destroy this message, and notify us immediately. If you or your employer does not consent to Internet email messages of this kind, please advise us immediately. Opinions, conclusions and other information expressed in this message are not given or endorsed by my Company or employer unless otherwise indicated by an authorised representative independent of this message. WARNING: While Axios Systems Ltd takes steps to prevent computer viruses from being transmitted via electronic mail attachments we cannot guarantee that attachments do not contain computer virus code. You are therefore strongly advised to undertake anti virus checks prior to accessing the attachment to this electronic mail. Axios Systems Ltd grants no warranties regarding performance use or quality of any attachment and undertakes no liability for loss or damage howsoever caused. **
More than 5 Arguments
Title: More than 5 Arguments Hi My question is how to print a message on the page through resource bundle which has more than 5 arguments. bean:message Tag support only 4 arguments. Any help with example will be appreciable. Thanks Bharat ### # This message is intended solely for the individual or entity to # # which it is addressed.This communication may contain information# # that is proprietary,privileged or confidential and otherwise legally# # exempt from disclosure. If you are not the named addressee, or have # # been inadvertently referenced in the address line, you are not # # authorized to read, print, retain, copy or disseminate this message # # any part of it. If you have received this message in error , please # # notify the sender immediately by e-mail and delete all copies of# # the message.# ### - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: More than 5 Arguments
More than 5 ArgumentsIf you really need more than 5, then combine them. I would recommend doing this in your action prior to forwarding to the jsp. messages.properties --- global.msg.final = Please {0} and click {1} when you are done. global.msg.finish = finish global.msg1 = enter {0}, {1}, {2}, {3}, and {4} fields MyAction ... ... String msg = getResources( request ).getMessage( global.msg1, ,,, ); String msg2 = getResources( request ).getMessage( global.msg.final, msg, global.msg.finish); // then either set it on your form bean, or in the request ... ... -- James Mitchell Software Engineer / Open Source Evangelist EdgeTech, Inc. 678.910.8017 AIM: jmitchtx - Original Message - From: Bharat Bhushan To: Struts Users Mailing List Sent: Thursday, August 26, 2004 1:02 PM Subject: More than 5 Arguments Hi My question is how to print a message on the page through resource bundle which has more than 5 arguments. bean:message Tag support only 4 arguments. Any help with example will be appreciable. Thanks Bharat - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]