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]
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
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
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.
-
4 matches
Mail list logo