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.
a key from application.properties 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

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

ActionMessage without using a key from application.properties

2005-02-17 Thread J Q
Is there a way to construct a completely custom message without using a key from application.properties? ActionMessage constructor seems to insist on having a key that would be mapped to the application.properties. Thanks, JQ. -