You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by snekse <sn...@gmail.com> on 2005/03/22 23:31:36 UTC

Embedding messages within messages

Can you do something like this inside your message-resources files?

//---------------------------------------------------

applicationName=My Application
error.application=You have run into an error caused the the
${applicationName} application.

//---------------------------------------------------

I want to have a paramaterized error message, but I want the parameter
to basically be predefined as another resource key.

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


Re: Embedding messages within messages

Posted by James Mitchell <jm...@apache.org>.
That has actually been on my todo list for quite a while now.  Struts will 
be changing soon to use commons-resources so it would be better to focus 
such an effort over there.

I'm hoping to get back to working on commons-resources soon.  My current 
focus (with what little time I have) is to finish up with taglibs and the 
nightlies.


--
James Mitchell
Software Engineer / Open Source Evangelist
EdgeTech, Inc.
678.910.8017
AIM: jmitchtx

----- Original Message ----- 
From: "snekse" <sn...@gmail.com>
To: "STRUTS-USER-LIST" <us...@struts.apache.org>
Sent: Tuesday, March 22, 2005 5:31 PM
Subject: Embedding messages within messages


> Can you do something like this inside your message-resources files?
>
> //---------------------------------------------------
>
> applicationName=My Application
> error.application=You have run into an error caused the the
> ${applicationName} application.
>
> //---------------------------------------------------
>
> I want to have a paramaterized error message, but I want the parameter
> to basically be predefined as another resource key.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
> 



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