Best way to substitute vars in message resources

2005-02-18 Thread Brian McGovern
I want to frame out messages in Application.properties like this: err.userexists=The user __UserName__ already exists. Please try again. What im wondering about is if there is either a built in mechanism in struts to handle that __UserName__ replacement. Maybe {0} or something? Or should I

Re: Best way to substitute vars in message resources

2005-02-18 Thread Rick Reumann
Brian McGovern wrote the following on 2/18/2005 9:05 AM: I want to frame out messages in Application.properties like this: err.userexists=The user __UserName__ already exists. Please try again. What im wondering about is if there is either a built in mechanism in struts to handle that __UserName__

Re: Best way to substitute vars in message resources

2005-02-18 Thread Jim Kennedy
context. You can do the same with errors messages. Jim -Original Message- From: Brian McGovern [EMAIL PROTECTED] Sent: Feb 18, 2005 9:05 AM To: Struts Users Mailing List user@struts.apache.org Subject: Best way to substitute vars in message resources I want to frame out messages