You are viewing a plain text version of this content. The canonical link for it is here.
Posted to taglibs-user@tomcat.apache.org by Cindy Nordahl <ci...@hotmail.com> on 2001/12/18 15:14:17 UTC

I18N tag

Hello,

I'm trying to figure out <messageArg> tag.  The specs say, "If the message 
corresponding to the given key is compound, that is, contains one or more 
variables, it can be supplied with argument values for these variables by 
using a <messageArg> subtag for each argument value"

The example in the specs:

    <fmt:message key="Welcome">
      <fmt:messageArg value="$dateArg"/>
    </fmt:message>

Does this mean that the 'Welcome' key contains more than one value?  Is the 
<messageArg> tag printing a date that is grabbed from the resource bundle?

Welcome = "welcome"
Welcome.dateArg = "Monday, January 2nd, 2002"

But, it's not because the '$dateArg' is a scoped variable.  So, why bother 
with the messageArg tag?

Any ideas?

Thanks,

Cindy



_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: 
http://photos.msn.com/support/worldwide.aspx


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>