[HELP] Can or can not call a specific message group in *.properties file?

2005-07-24 Thread Pham Anh Tuan
Hi all,

I wonder whether or not the Messages files (*.properties) in Struts support a 
message definition form like a config file of Smarty or not?

in Smarty config file:

[loginForm]
username=User name:
firstname=First name:

[userHome]
hello=Hello

... so, with above definition form, we can call specific message group that we 
need. For example, if we only need messages for Login Form.

:(

thanks for reading

Pham

Re: [HELP] Can or can not call a specific message group in *.properties file?

2005-07-24 Thread James Mitchell
You are more than welcome to submit an enhancement request for 
commons-resources (http://jakarta.apache.org/commons/resources/) and we can 
take a look from there.  Struts will be moving to commons-resources *very* 
soon, so it would be better to add such an enhancement there.




--
James Mitchell
Software Engineer / Open Source Evangelist
Consulting / Mentoring / Freelance
EdgeTech, Inc.
http://www.edgetechservices.net/
678.910.8017
AIM:   jmitchtx
MSN:   [EMAIL PROTECTED]
Skype: jmitchtx

- Original Message - 
From: Pham Anh Tuan [EMAIL PROTECTED]

To: Struts Users Mailing List user@struts.apache.org
Sent: Monday, July 25, 2005 12:42 AM
Subject: [HELP] Can or can not call a specific message group in *.properties 
file?



Hi all,

I wonder whether or not the Messages files (*.properties) in Struts support 
a message definition form like a config file of Smarty or not?


in Smarty config file:

[loginForm]
username=User name:
firstname=First name:

[userHome]
hello=Hello

... so, with above definition form, we can call specific message group that 
we need. For example, if we only need messages for Login Form.


:(

thanks for reading

Pham 




-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]