struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Crossfield <ian.xfi...@dsl.pipex.com>
Subject Message key obtained from bean
Date Fri, 25 Oct 2002 09:17:58 GMT

I'm attempting to display an internationalised String, obtaining the key from a 
bean:

    <bean:message name="title" property="key"/>

However when I run this I'm told that the key attribute is a required attribute.

    "According to the TLD attribute key is mandatory for tag message"

But the tag library api states:

    "The message key may be specified directly, using the key attribute, or 
indirectly, using the name and property attributes to obtain it from a bean."

Am I doing something wrong?

Thanks

Ian



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


Mime
View raw message