The ability to use 'name' and 'property' attributes with <bean:message> is
new for Struts 1.1, and is not available in Struts 1.0. If you're looking at
the documentation on the Struts web site, you should be aware that this
always reflects the latest builds of Struts. For the Struts 1.0
documentation, you should refer to the struts-documentation.war application
which is part of the Struts 1.0 distribution.
--
Martin Cooper
----- Original Message -----
From: "Matthias Brahm" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, July 23, 2001 1:45 PM
Subject: Re: Problem with <bean:message> tag?
> I downloaded the source of the nightly build and you are right, there are
the
> two attributes.
> But in the 1.0 final release of struts (which i use) there are no property
and
> name attributes for the bean:message tag.
>
> Matthias
>
> > "Matthias Brahm" <[EMAIL PROTECTED]> wrote:
> >
> > > This must be an error in the Tag Library Reference (in the
> > source-code
> > > of the bean:message tag there are no name and property attributes)!
> > > Read the Tag Library Guides for the usage of the bean:message tag.
> > In
> > > this documentation name and property are not mentioned.
> > >
> > > Matthias
> >
> > They are:
> >
> > From: struts-bean.html to attribute key:
> >
> > The message key of the requested message, which must have a
> > corresponding
> > value in the message resources. If not specified, the key is obtained
> > from the
> > name and property attributes.
> >
> >
> > --
> >
> > gR
> >
> >
>