RE: ActionMessage without using a key from application.properties

2005-02-17 Thread Chaikin, Yaakov Y.
x27;Struts Users Mailing List' Subject: RE: ActionMessage without using a key from application.properties Right. I thought of this. Is there a way to do this without this hack? Whoops... I mean simulation... :) Thanks. -Original Message- From: Scott Piker [mailto:[EMAIL PROTECTED]

RE: ActionMessage without using a key from application.properties

2005-02-17 Thread Chaikin, Yaakov Y.
Right. I thought of this. Is there a way to do this without this hack? Whoops... I mean simulation... :) Thanks. -Original Message- From: Scott Piker [mailto:[EMAIL PROTECTED] Sent: Thursday, February 17, 2005 4:21 PM To: user@struts.apache.org Subject: Re: ActionMessage without using

Re: ActionMessage without using a key from application.properties

2005-02-17 Thread Scott Piker
You usually want to avoid doing this because you lose a lot of flexibility, but you can pretty easily simulate this behavior by just defining an empty message in your .properties file with one argument: message.custom={0} and then use the arg0 slot for your hard-coded custom message new ActionMe