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 Gisella Saavedra <gs...@Quinstreet.com> on 2002/10/28 22:39:01 UTC
FW: JSTL Resource Bundles
> Hello,
>
> I need some help here!
>
> I am using the latest JSTL library package from this month, October.
>
>
> I have the following piece of .JSP code:
>
> <tr>
> <fmt:message key="rptFIN_TaxPaymentDetail" bundle="${applicationScope.rptHeadings}" />
> </tr>
>
> <tr>
> <div id="HeaderText1"><fmt:message key="${param.rptHeadingKey}" bundle="${applicationScope.rptHeadings}" /></div>
> </tr>
>
> I'm using a .properties file, which is under my WEB-INF/class directory
> The problem I have is:
>
> The first <tr> set prints the value of the key right.
> Lamentably the second <tr> set DOES NOT. I get the key name printed out, surrounded by ???
>
> This is the output for both lines (the first one is correct):
> tax payment detail
> ??? rptFIN_TaxPaymentDetail???
>
> I wonder why this fmt:bundle tag evaluates the attribute "bundle" OK but not the "key" one.
> It seems like a bug to me. Any input would be appreciated.
>
> Gisella
>
>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
JSTL Resource Bundles
Posted by Gisella Saavedra <gi...@yachay.net>.
Can somebody help?
------------
I am using the latest JSTL library package from this month, October.
I have the following piece of .JSP code:
<tr>
<fmt:message key="rptFIN_TaxPaymentDetail"
bundle="${applicationScope.rptHeadings}" />
</tr>
<tr>
<div id="HeaderText1"><fmt:message key="${param.rptHeadingKey}"
bundle="${applicationScope.rptHeadings}" /></div>
</tr>
I'm using a .properties file, which is under my WEB-INF/class directory
The problem I have is:
The first <tr> set prints the value of the key right.
Lamentably the second <tr> set DOES NOT. I get the key name printed out,
surrounded by ???
This is the output for both lines (the first one is correct):
tax payment detail
??? rptFIN_TaxPaymentDetail???
I wonder why this fmt:bundle tag evaluates the attribute "bundle" OK but not
the "key" one.
It seems like a bug to me. Any input would be appreciated.
Gisella
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>