emre akbas wrote:
Hi,
We know that ActionMessage class has a field to store the key of the message
but not the bundle name of the key. For (error) messages that are not in the
default message-resources, we can do the trick in the jsp file by giving the
bundle of the key like:

 <html:messages bundle="core" id="msg" >
 <bean:write name="msg"/>
 </html:messages>

So far so good. But, what we shall do if the ActionMessages contain messages
which have to be resolved from different bundles? Should we write several
<html:messages> tags with different bundles?

That would appear to be the only option; ActionMessages doesn't have a way to specify the bundle. That might be a useful enhancement, though.

L.


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

Reply via email to